Wiki.Novemberborn, sIFR 3 Documentation & FAQ

Filters

Flash 8 supports a number of filters. These can be used in sIFR as well. Each property of the filters keyword argument describes a filter. As the property name you use the filter name, for example DropShadow. This name is case-sensitive! The description is in the form of another object, where each property corresponds with a filter property. So, for example:

filters: {
  DropShadow: {
    knockout: true
    ,distance: 1
    ,color: '#330000'
    ,strength: 2
  }
}

The colors can be specified both as a hexadecimal string ('#330000') or as a hexadecimal number (0x330000). Again, the property names are case-sensitive, although you can append 'Filter' to the name, so DropShadow becomes DropShadowFilter.

Note: when you use wmode = 'transparent' (see JavaScript Methods) be sure to set knockout = false before you try to give your text a color!

Flash Filters

For more information on these filters it's best to do a search on the LiveDocs site.

DisplacementMapFilter

ColorMatrixFilter

ConvolutionFilter

GradientBevelFilter

GradientGlowFilter

BevelFilter

GlowFilter

BlurFilter

DropShadowFilter


Updated on February 25, 2008 15:56 by Drinkspiller (65.71.216.110)

| See revision | Back in time (8 older revisions)


Navigation

sIFR 3 Documentation & FAQ

sIFR lets you use your favorite font on your websites by cleverly working with Flash, JavaScript and CSS. Here you'll find it's documentation and the FAQ. Leave a link to your implementation in the Examples!

Please donate

If you like sIFR, please consider making a donation so Mark can spend more time on it. Thank you.

Inside this wiki

Other destinations

Licensing

This wiki is licensed under the GNU Free Documentation License.

Miscellaneous

TextDrive

RubyOnRails