User Guide
Document functions 259
Arguments
category A string that defines the name of the category of the effect.
oldName The existing name of the effect.
newName The new name to give to the effect.
Returns
Nothing.
Description
Sets the name for the current effect.
dom.setElementLocked()
Availability
Fireworks 8.
Usage
dom.setElementLocked(frameNum, layerNum, objectIndex, bLock, bAllLayers,
bLockLayers)
Arguments
frameNum A zero-based integer that specifies the frame that contains the element or elements
to be locked. To specify the current frame, pass -1.
layerNum A zero-based integer that specifies the layer that contains the element or elements
to be locked. To specify the current layer, pass -1.
objectIndex A zero-based integer that specifies the element or elements to lock or unlock.
0 represents the topmost element in the specified layer. To lock or unlock all the elements in
the specified layer, pass -1.
bLock A Boolean value. If true, the element or elements are to be locked; if false, the
elements are unlocked.
bAllLayers A Boolean value. If true, all layers are specified; false otherwise.
bLockLayers A Boolean value. If true, locks all layers; false otherwise.
Returns
Nothing.
Description
Sets the name of the selected element or elements.