Effect object

Each Fireworks Effect (bevel, drop shadow, etc.) has a unique set of attributes. So, each Effect object has its own set of properties that can be set (instead of a common set of properties for all Effect objects). The properties for various Effect objects are listed in the following tables, in alphabetical order.

Note: In addition to the listed properties, each Effect object has two optional string properties: category and name.

Bevel object

Property Data type Notes

AngleSoftness

integer

Specifies the blur, or feather amount, for the shadow and highlight colors of the bevel.

BevelContrast

integer

0 to 100 percent

BevelType

integer

Sets a bevel as inner, outer, raised embossed, inset embossed, or glow effect, as follows:

InnerBevel = 0

OuterBevel = 1

RaiseEmboss = 2

InsetEmboss = 3

GlowEffect = 4

BevelWidth

integer

The width of the bevel, in pixels.

ButtonState

integer

BevelButtonUp = 0

BevelButtonOver = 1

BevelButtonDown = 2

BevelButtonHit = 3

DownBlendColor

string

A color string that specifies the color that is blended on top of the image if ButtonState = 2 (BevelButtonDown) (for more information, see Color string data type).

EdgeThreshold

integer

Controls the opacity at which the edge of the effect is defined. Use 1 if BevelType = 4 (for GlowEffect); otherwise, use 0.

EffectIsVisible

Boolean

If set to false, the effect is included but temporarily hidden. The default value is true.

EffectMoaID

string

"{7fe61102-6ce2-11d1-8c76000502701850}"

EmbossFaceColor

string

A color string that specifies the color that is blended onto the face of the object when embossing (for more information, see Color string data type).

GlowStartDistance

integer

Specifies how far away from the object the glow starts, in pixels. Specify a negative value to create "ring" glows and a positive value to create "halo" glows.

GlowWidth

integer

The width of the glow, in pixels.

HiliteColor

string

A color string that specifies the color that is blended to provide the spectral lighting type effect (for more information, see Color string data type). Used by beveling only. Currently white is always used for internally created effects (although any value should work). This is the complement of ShadowColor.

HitBlendColor

string

A color string that specifies the color that is blended on the face of the image if ButtonState = 3 (BevelButtonHit) (for more information, see Color string data type).

LightAngle

integer

The light angle, in degrees, that is used to create the light and shadow effects for the bevel.

MaskSoftness

integer

The feather amount on the glow edge, in pixels.

OuterBevelColor

string

A color string that specifies the color of the outer bevel effect (for more information, see Color string data type).

ShadowColor

string

A color string that specifies the color that is blended to provide the bevel shadow effect (for more information, see Color string data type). Currently black is always used for internally created effects (though any value should work). This is the complement of HiliteColor.

ShowObject

Boolean

The default value is false.

SlopeMultiplier

float

A multiplier that is used to calculate the magnitude of the bevel slope. Default effects all use 1, but other values should work. For example, 0.5 gives a more subtle slope and 2.0 gives a sharper slope.

SlopeType

integer

flat slope = 0

smooth slope = 1

inverted smooth slope = 2

frame 1 slope = 3

frame 2 slope = 4

ring slope = 5

ruffle slope = 6

Blur object

Property Data type Notes

EffectMoaID

string

"{f1cfce41-718e-11d1-8c8200a024cdc039}"

EffectIsVisible

Boolean

If set to false, the effect is included but temporarily hidden. The default value is true.

Blur More object

Property Data type Notes

EffectIsVisible

Boolean

If set to false, the effect is included but temporarily hidden. The default value is true.

EffectMoaID

string

"{f1cfce42-718e-11d1-8c8200a024cdc039}"

Brightness/Contrast object

Property Data type Notes

brightness_amount

integer

-100 to 100

contrast_amount

integer

-100 to 100

EffectIsVisible

Boolean

If set to false, the effect is included but temporarily hidden. The default value is true.

EffectMoaID

string

"{3439b08c-1921-11d3-9bde00e02910d580}"


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/fireworks/8/fwextending/fw_02_30.htm