User Guide

204 Chapter 5: Fireworks JavaScript API
dom.setDocumentResolution()
Availability
Fireworks 3.
Usage
dom.setDocumentResolution(resolution)
Arguments
resolution
Specifies the resolution for the document (see “Resolution data type” on page 12).
Returns
Nothing.
Description
Sets the resolution of the document.
dom.setEffectName()
Availability
Fireworks MX.
Usage
dom.setEffectName(category, oldName, newName)
Arguments
category
A string that defines the name of the category of the effect.
oldName The existing name of the effect.
newName The new name to give to the effect.
Returns
Nothing.
Description
Sets the name for the current effect.
dom.setElementMaskMode()
Availability
Fireworks 4.
Usage
dom.setElementMaskMode(mode)
Arguments
mode
Acceptable values are "mask to image" and "mask to path".