278
Fireworks JavaScript API
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
If the value of
bShow
is set to
true
, the layer is visible. If
bShow
is
false
, it is hidden.
bAllLayers
If
bAllLayers
is
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.setMatteColor()
Availability
Fireworks 3.
Usage
dom.setMatteColor(
bUseMatteColor
,
matteColor
)
Arguments
bUseMatteColor
If
bUseMatteColor
is
true
, the document’s matte color is set to the value
that is specified by
matteColor
. If
bUseMatteColor
is
false
, any matte color is removed
from the document, and the second argument is ignored.
matteColor
A color string (see
“Color string data type” on page 11
).
Returns
Nothing.
Description
Sets or removes the document’s matte color that is used for exporting.
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 ...