Adobe 65011817 - Fireworks CS4 - Mac Extended User Manual page 165

Extending guide
Hide thumbs Also See for 65011817 - Fireworks CS4 - Mac:
Table of Contents

Advertisement

Last updated 12/8/2009
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
layer, pass –
here).
1
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.
dom.setLayerSharing()
Availability
Fireworks 3.
Usage
dom.setLayerSharing(layerIndex, sharedStatus, bUnshareCopiesToAllFrames, bWarnUser)
Arguments
An integer value that specifies the layer to be shared or not shared, starting with
layerIndex
the current layer, pass –
1
Acceptable values are
sharedStatus
bUnshareCopiesToAllFrames
multiple frames. If these conditions are met and
duplicated to all the frames of the layer; if
Boolean. If
bWarnUser
bWarnUser
confirm that data on other frames can be overwritten. If
overwritten without warning.
here).
or
"shared"
A Boolean value used only if
bUnshareCopiesToAllFrames
, the items are placed only on the current frame.
false
is
and
true
bUnshareCopiesToAllFrames
.
"not shared"
is
sharedStatus
is
, data on other frames of the layer is
bWarnUser
false
EXTENDING FIREWORKS
The Document object
(although, to specify the current
0
(although, to specify
0
and the document has
"not shared"
is
, the items on the layer are
true
is enabled, the user is asked to
161

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs4

Table of Contents