260
Fireworks JavaScript API
dom.setElementLockedByName()
Availability
Fireworks 8.
Usage
dom.setElementLockedByName(
name, bLock
)
Arguments
name
A string that specifies the name of the element or elements to be locked or unlocked. If
more than one element has the same name, the function locks or unlocks all of them.
bLock
A Boolean value. If
true
, the element or elements are locked; if
false
, they are
unlocked.
Returns
An array of the elements for which the lock status is set.
Description
Locks or unlocks all the elements with the specified name. If no element has the specified
name an exception is thrown. If elements are hidden (for example, if they are on a hidden
layer or frame), the function will not lock them.
dom.setElementMaskMode()
Availability
Fireworks 4.
Usage
dom.setElementMaskMode(
mode
)
Arguments
mode
Acceptable values are
"mask to image"
and
"mask to path"
.
Returns
Nothing.
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 ...