ActionScript Creating Custom Filters

Posted by TheDarkIn1978 on Stack Overflow See other posts from Stack Overflow or by TheDarkIn1978
Published on 2010-05-28T22:46:00Z Indexed on 2010/05/28 22:52 UTC
Read the original article Hit count: 307

Filed under:
|
|

i would like to create a custom DropShadowFilter that always takes the same arguments and package it. since it's not possible to extend the BitmapFilter class, how can i create a custom filter that is called as part of the filters array on a display object like regular filter?

mySprite.filters = [new BlurFilter(5, 5, 3), new CustomDropShadowFilter()];

© Stack Overflow or respective owner

Related posts about actionscript

Related posts about custom