Adobe 65011817 - Fireworks CS4 - Mac Extended User Manual page 87

Extending guide
Hide thumbs Also See for 65011817 - Fireworks CS4 - Mac:
Table of Contents

Advertisement

Last updated 12/8/2009
Returns
Nothing.
Description
Applies the specified pixel filter to the selection. Items that are not images are converted into images before the filter
is applied. Only external filters that are capable of also being Live Effects can be applied using this function. To apply
other types of external filters, use
Example
The following command runs the selected pixels through the hue/saturation filter and then sets hue to 30 and
saturation to 20:
fw.getDocumentDOM().filterSelection({
EffectMoaID:"{3439b08d-1922-11d3-9bde00e02910d580}",
hls_colorize:true, hue_amount:30, lightness_amount:0, saturation_amount:20
});
dom.filterSelectionByID()
Availability
Fireworks 8.
Usage
dom.filterSelectionByID(ID)
Arguments
The
of the filter you want applied.
ID
EffectMoaID
Returns
Nothing.
Description
Applies the specified pixel filter to the selection as a permanent action, not as a Live Effect. (To apply filters that can
also be Live Effects, you can use
dom.filterSelectionByName()
Availability
Fireworks 3.
Usage
dom.filterSelectonByName(category, name)
Arguments
A string that specifies the category of the pixel filter to be applied. Acceptable values depend on which filters
category
you have installed.
dom.filterSelectionByName()
dom.filterSelection()
.
.) This function always displays a dialog box.
83
EXTENDING FIREWORKS
The Document object

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs4

Table of Contents