Adobe 38039927 - Fireworks CS3 - PC Extended User Manual page 147

Extending fireworks
Hide thumbs Also See for 38039927 - Fireworks CS3 - PC:
Table of Contents

Advertisement

See also
dom.setAllLayersDisclosure()
dom.setLayerLocked()
Availability
Fireworks 3.
Usage
dom.setLayerLocked(layerIndex, frameIndex, bLock, bAllLayers)
Arguments
An integer value that specifies the layer to be locked or unlocked, starting with
layerIndex
the current layer, pass
here). To lock or unlock all the layers on a frame, use the
–1
An integer value that specifies the frame that contains the layer that is to be locked or unlocked,
frameIndex
starting with
(although, to specify the current frame, pass
0
If
is
, the layer is locked. If
bLock
bLock
true
If
bAllLayers
bAllLayers
passed for
is ignored.
layerIndex
Returns
Nothing.
Description
Locks or unlocks one or all the layers on the specified frame.
Example
The following command locks all the layers on the first frame:
fw.getDocumentDOM().setLayerLocked(1, 0, true, true);
dom.setLayerName()
Availability
Fireworks 3.
Usage
dom.setLayerName(layerIndex, layerName)
Arguments
An integer value that specifies the layer to be renamed, starting with
layerIndex
current layer, pass
here).
–1
A string that specifies the new name for the layer.
layerName
Returns
Nothing.
is
bLock
is
, all the layers on the specified frame are locked or unlocked, and any value
true
here).
–1
, it is unlocked.
false
ADOBE FIREWORKS CS3
Extending Guide
(although, to specify
0
argument.
bAllLayers
(although, to specify the
0
143

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs3

Table of Contents