
98
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Usage
dom.linkElementMask(
frame, layer, element, bLink
)
Arguments
frame
An integer value that specifies the frame that contains the element, starting with
0
(although, to specify the
current frame, pass –
1
here).
layer
An integer value that specifies the layer that contains the element, starting with
0
(although, to specify the
current layer, pass –
1
here).
element
An integer value that specifies the element, starting with
0
(although, to specify the current element, pass –
1
here).
bLink
If
bLink
is
true
, the element masks are linked to their elements; if
false
, they are unlinked from their
elements.
Returns
Nothing.
Description
Links or unlinks the element mask on the selected element. If more than one element (or no elements) are selected when
this function is called, Fireworks throws an exception. An exception is also thrown if the element has no element mask.
dom.lockNineScale()
Availability
Fireworks CS3
Usage
dom.lockNineScale(
status
)
Arguments
status
A Boolean value that toggles 9-slice scaling between locked and unlocked.
Returns
Nothing.
Description
Locks or unlocks 9-slice scaling guides for the selected symbol.
Example
The following command locks 9-slice scaling guides for the selected symbol:
fw.getDocumentDOM().lockNineScale(true);
dom.lockSelection()
Availability
Fireworks 8.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...