
90
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
dom.group()
Availability
Fireworks 3, argument deprecated in 4.
Usage
dom.group({
type
})
Arguments
type
An optional string that specifies how to group the items. Acceptable values are
"normal"
,
"mask to image"
,
and
"mask to path"
. If the argument is omitted,
"normal"
is assumed. In Fireworks 4,
"mask to image"
and
"mask
to path"
are deprecated.
Returns
Nothing.
Description
Groups the selection. To ungroup elements use
dom.ungroup()
(see
dom.ungroup()
).
Example
The following command sets the selected group to mask to the image:
replace with fw.getDocumentDOM().group("normal");
dom.hasCharacterMarkup()
Availability
Fireworks 3, updated in Fireworks 4.
Usage
dom.hasCharacterMarkup(
tag
)
Arguments
tag
Acceptable values are
"b"
,
"i"
, and
"u"
, for bold, italic, and underline; and
"fwplain"
, which was added in
Fireworks 4, for text without character markup.
Returns
true
if the text has the specified character markup;
false
if it does not or if only part of the text has the markup.
Description
Determines whether the selected text has the specified character markup.
dom.hasMasterPage()
Availability
Fireworks CS3.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...