MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Manual page 190

Table of Contents

Advertisement

dom.filterSelection()
Availability
Fireworks 3.
usage
dom.filterSelection(LiveEffect)
Arguments
An Effect object (see
LiveEffect
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
dom.filterSelectionByName()
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
ID
EffectMoaID
190
Fireworks JavaScript API
"Effect object" on page
.
of the filter you want applied.
41).

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Fireworks 8

Table of Contents