Arguments
An integer value that specifies the layer to be locked or unlocked, starting with
layerIndex
(although, to specify the current layer, pass
0
frame, use the
bAllLayers
An integer value that specifies the frame that contains the layer that is to be
frameIndex
locked or unlocked, starting with
If
is
bLock
bLock
true
If
bAllLayers
bAllLayers
unlocked, and any value passed for
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
(although, to specify the current layer, pass
A string that specifies the new name for the layer.
layerName
Returns
Nothing.
Description
Renames the specified layer. Layers aren't required to have unique names, so no duplicate
checking occurs.
276
Fireworks JavaScript API
–1
argument.
(although, to specify the current frame, pass
0
, the layer is locked. If
is
, all the layers on the specified frame are locked or
true
layerIndex
–1
here). To lock or unlock all the layers on a
is
, it is unlocked.
bLock
false
is ignored.
here).
here).
–1
0
Need help?
Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers