
148
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Usage
dom.setElementMaskMode(
mode
)
Arguments
mode
Acceptable values are
"mask to image"
and
"mask to path"
.
Returns
Nothing.
Description
Sets the rendering mode on the selected element’s element mask. Only one element can be selected when calling this
function. If more than one element (or no elements) are selected when this function is called, Fireworks throws an
exception. Fireworks also returns an error if the selected element has no element mask.
dom.setElementMaskShowAttrs()
Availability
Fireworks 4.
Usage
dom.setElementMaskShowAttrs(
bShow
)
Arguments
bShow
Boolean. If
true
, the vector mask fill and stroke are visible; if
false
, they are hidden.
Returns
Nothing.
Description
Specifies whether the currently selected vector mask shows the fill and stroke.
dom.setElementName()
Availability
Fireworks 3.
Usage
dom.setElementName(
name
)
Arguments
name
A string that specifies the name to be assigned to the selected element(s). To specify that no name should be
assigned or that an existing name should be removed, pass
null
.
Returns
Nothing.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...