Glow-alpha

From Frontal Wiki

Jump to: navigation, search

Contents

Purpose

This style is part of a group of styles used to apply a glow to visual elements. This style sets the opacity of the glow on an element.


Value

The glow-alpha style accepts decimal values from 0 (completely transparent) to 1 (completely opaque). The default value is 1.

glow-alpha: 1;


Remarks

This style is part of a group of styles used to apply a Flash GlowFilter to visual elements.

This filter is applied only when the glow-alpha and glow-strength styles are non-zero.

  • glow-alpha: Maps to the alpha property of the filter.
  • glow-strength: Maps to the strength property of the filter.
  • glow-blur-x: Maps to the blurX property of the filter.
  • glow-blur-y: Maps to the blurY property of the filter.
  • glow-blur: Set both the blurX and blurY properties of the filter.
  • glow-color: Maps to the color property of the filter.
  • glow-inner: Maps to the inner property of the filter.
  • glow-knockout: Maps to the knockout property of the filter.
  • glow-quality: Maps to the quality property of the filter.


Example

<style><![CDATA[
    img
    {
	glow-alpha: .5;
	glow-blur: 30;
	glow-strength: 1;
        margin: auto;
    }
]]></style>
<img src="http://www.frontalcode.com/assets/images/image_1.jpg" />


Can Be Applied To

This style can be applied to all visual elements in particular:

This page is PENDING
Personal tools
Get Adobe Flash player