User Guide
226 Fireworks JavaScript API
dom.removeElementMask()
Availability
Fireworks 4.
Usage
dom.removeElementMask(whatIfElementIsAnImage)
Arguments
whatIfElementIsAnImage This argument is used only if the element (not the element
mask) is an image. Acceptable values for
whatIfElementIsAnImage are "apply" (apply the
element mask to the image before discarding the element mask),
"discard" (discard the
element mask), and
"ask" (displays a dialog box to let the user decide). If you pass "ask" and
the user cancels the dialog box, Fireworks returns an error.
Returns
Nothing.
Description
Removes the mask from the selected element. If more than one element (or no elements) are
selected when this function is called, Fireworks throws an exception.
dom.removeFontMarkup()
Availability
Fireworks 3.
Usage
dom.removeFontMarkup(fontAttribute)
Arguments
fontAttribute Acceptable values are "size", "color", and "face".
Returns
Nothing.
Description
Reapplies the default value for the specified font attribute to the text in the selection.