Adobe 38039927 - Fireworks CS3 - PC Extended User Manual page 58

Extending fireworks
Hide thumbs Also See for 38039927 - Fireworks CS3 - PC:
Table of Contents

Advertisement

dom.convertToSymbol()
Availability
Fireworks 3.
Usage
dom.convertToSymbol(type, name)
Arguments
Acceptable values are
type
A name for the new symbol.
name
Returns
Nothing.
Description
Converts the selected item(s) to a new symbol.
Example
The following command creates a graphic symbol from the selected item and names it "star":
fw.getDocumentDOM().convertToSymbol("graphic", "star");
See also
dom.convertToAnimSymbol(), dom.convertAnimSymbolToGraphicSymbol()
dom.convolveSelection()
Availability
Fireworks MX 2004.
Usage
dom.convolveSelection( kernelWidth, kernelHeight, kernelValues, affectsAlpha)
Arguments
An integer that defines the width of the filter coefficients.
kernelWidth
An integer that defines the height of the filter coefficients.
kernelHeight
An array of integers that defines the values for specific filter patterns.
kernelValues
A Boolean value:
affectsAlpha
means that the bitmap transparency isn't affected by the filter.
Returns
Nothing
Description
Applies convolution, or irregular, filters to the selected bitmap based on the pattern defined by the argument values.
,
, and
"graphic"
"button"
means the convolution filter affects the transparency of the bitmap;
true
.
"animation"
ADOBE FIREWORKS CS3
54
Extending Guide
false

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs3

Table of Contents