MACROMEDIA FIREWORKS MX 2004-EXTENDING FIREWORKS Manual page 109

Extending fireworks
Hide thumbs Also See for FIREWORKS MX 2004-EXTENDING FIREWORKS:
Table of Contents

Advertisement

dom.addElementMask()
Availability
Fireworks 4.
Usage
dom.addElementMask(mode, {bEnterMaskEditMode}
Arguments
Acceptable values for
mode
and
"hide selection"
selection,
"reveal selection"
and
"hide all"
bEnterMaskEditMode
edit mode on the newly added mask; if omitted, it defaults to
Returns
Nothing.
Description
Adds a new empty mask to the selected element. If the selection already has an element mask, it
is replaced with the new one. Only one element can be selected when calling this function. If
selecting more than one element (or none) at the time this function is called, Fireworks throws
an exception.
dom.addFrames()
Availability
Fireworks 3, enhanced in Fireworks 4.
Usage
dom.addFrames(howMany, where, {bAdvanceActiveFrame})
Arguments
An integer that specifies how many frames to add.
howMany
The location where frames should be added. Acceptable values for
where
,
"beginning"
"before current"
bAdvanceActiveFrame
it is omitted or
true
active frame does not change. For example, if the user is adding frames at the end of a document
that has two frames and
the active frame.
Returns
Nothing.
Description
Adds one or more frames to the document.
are "
mode
. If the user is not in bitmap mode, or if there is no pixel
and
"hide selection"
, respectively.
If
bEnterMaskEditMode
,
"after current"
Added in Fireworks 4, specifies whether to change the active frame. If
, this function sets the active frame to the first frame added. If
bAdvanceActiveFrame
reveal all", "hide all", "reveal selection",
operate the same as
(optional) is se to
, and
is omitted or
"reveal all"
, Fireworks enters mask-
true
.
false
are
where
.
"end"
, then the third frame becomes
true
Document functions
, the
false
109

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FIREWORKS MX 2004-EXTENDING FIREWORKS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Fireworks mx 2004

Table of Contents