ActionScript Creating Custom Filters
- by TheDarkIn1978
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()];