MACROMEDIA FIREWORKS MX 2004-EXTENDING FIREWORKS Manual page 209

Extending fireworks
Hide thumbs Also See for FIREWORKS MX 2004-EXTENDING FIREWORKS:
Table of Contents

Advertisement

dom.setFillNColor()
Availability
Fireworks MX.
Usage
dom.setFillNColor(fill, color)
Arguments
A Fill object (see
fill
A color string (see
color
Returns
Nothing.
Description
Sets the selection to the specified fill and fill color.
dom.setFillNColorNTexture()
Availability
Fireworks 3.
Usage
dom.setFillNColorNTexture(fill, color, texture-name)
Arguments
A Fill object (see
fill
A color string (see
color
texture-name
Returns
Nothing.
Description
Sets the selection to the specified fill, fill color, and fill texture.
Example
The following command sets the selected items to a linear fill with a feather edge and no texture.
fw.getDocumentDOM().setFillNColorNTexture({ category:"fc_Linear",
ditherColors:[ "#000000", "#000000" ], edgeType:"antialiased", feather:10,
gradient:{ name:"cn_WhiteBlack", nodes:[ { color:"#ffffff", position:0 }, {
color:"#000000", position:1 } ] }, name:"fn_Normal", pattern:null,
shape:"linear", stampingMode:"blend opaque", textureBlend:0,
webDitherTransparent:false }, "#666666", "Grain");
"Fill object" on page
"Color string data type" on page
"Fill object" on page
"Color string data type" on page
The name of the texture to be applied.
51).
11).
51).
11).
Document functions
209

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Fireworks mx 2004

Table of Contents