View comments | RSS feed

BitmapFilter (flash.filters.BitmapFilter)


Object
    |
    +-flash.filters.BitmapFilter

public class BitmapFilter
extends Object

The BitmapFilter base class for all image filter effects.

The BevelFilter, BlurFilter, ColorMatrixFilter, ConvolutionFilter, DisplacementMapFilter, DropShadowFilter, GlowFilter, GradientBevelFilter, and GradientGlowFilter classes all extend the BitmapFilter class. You can apply these filter effects to bitmaps or MovieClip instances.

You can create subclasses only for the preceding subclasses of the BitmapFilter class.

Availability: ActionScript 1.0; Flash Player 8

Property summary

Properties inherited from class Object

constructor, __proto__, prototype, __resolve


Method summary

Modifiers

Signature

Description

 

clone() : BitmapFilter

Returns a BitmapFilter object that is an exact copy of the original BitmapFilter object.

Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toString, unwatch, valueOf, watch



Version 8

Comments


apixel said on Mar 22, 2006 at 1:01 PM :
I can't get the results of using a color matrix filter to show up when
printing. I have enabled printAsBitmap and still no luck. Any solutions?
This is a shame, since this method is much more precise than putting a
tint in the timeline and running my image through it.

Ex: below is a tint for a sepia filter, but it gets ignored when printing. :-(

matrix = matrix.concat([0.35, 0.35, 0.35, 0, 0]);
// red
matrix = matrix.concat([0.3, 0.3, 0.3, 0, 0]);
// green
matrix = matrix.concat([0.21, 0.21, 0.21, 0, 0]);
// blue
matrix = matrix.concat([0, 0, 0, 1, 0]);
// alpha
var filter:BitmapFilter = new ColorMatrixFilter(matrix);
webwasp.co.uk said on Apr 1, 2007 at 5:03 PM :
I have written a tutorial on the Color Matrix Filter and found that the tints print correctly as tints. Have a look on the webwasp flash tutorial site:

http://www.webwasp.co.uk/tutorials/218/index.php

 

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

Current page: http://livedocs.adobe.com/flash/8/main/00001972.html