Error getting tags :
error 404Error getting tags :
error 404 outerGlow | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
outerGlow
Basics
Expander triangle
Type
Property
Syntax

set the outerglow of object to propertiesArray

set the outerglow[propertyName] of object to propertyValue

Introduced
4.0.0
Environment
Desktop,Web
Platform Support
Mac OS X,Windows,Linux
Security
None required
Summary
Specifies the outer glow to use for an object
Examples

set the outerglow of button "Ok" to tOuterglowPropertiesArray
set the outerglow["color"] of me to "255,0,0"

Additional Comments
Expander triangle

Use the outerglow property to create a glowing effect radiating from the outer edge of an object. The outerglow is an array style property, each key of the array controls a different outerglow parameter that will affect its final appearance. The easiest way to adjust these properties is by using the Graphic Effects card of the property inspector which has full control over each parameter. To control the effect by script use the following properties:

outerglow["color"]

     The color of the glow, in the format red,green,blue where each value is between 0 and 255.

outerglow["blendMode"]

     How the glow is blended with objects behind it. This is one of the following values:

          - "normal" : the glow is laid over the background.

          - "multiply" : this results in a darkening effect

          - "colorDodge" : this results in a lightening effect

outerglow["opacity"]

     How opaque the glow is. The value is between 0 (fully transparent) and 255 (fully opaque).

outerglow["filter"]

     Which algorithm is used to render the glow. This is one of the following options:

          "gaussian" : highest quality (and slowest)

          "box3pass" : high quality.

          "box2pass" : medium quality

          "box1pass" : low quality (and fastest)

     When using the "colorDodge" blend mode, it is recommended that you set the filter mode to "gaussian".

outerglow["size"]

     The radius of the glow, i.e. how far from the edge of the object it extends to. This is between 0 and 255.

outerglow["spread"]

     This controls where the effect begins to blend. This is between 0 and 255.

User Comments
Expander triangle
User thumbnail
Martin Koob
StarStarStarStarStar
Jan 23, 2010
To turn off the outerglow effect for an object by script you set the property to empty. This has the result of unchecking the checkbox beside 'outerglow' in the Graphics Effects card of the property inspector. One difference is that when you set the outerglow property to empty by script all properties are set to default values. If you uncheck outerglow in the property inspector the other properties are not changed.
example:

set the outerglow of button "Ok" to empty

This will set the following properties to the following defalult values outerglow["color"] 0,0,0 outerglow["blendMode"] "normal" outerglow["opacity"] 191 outerglow["filter"] "box3pass" outerglow["size"] 5 outerglow["spread"] 0