Re: [Flashcoders] using applyFilter with a BitmapData object (AS2)

2009-03-12 Thread allandt bik-elliott (thefieldcomic.com)
cheers mate On Wed, Mar 11, 2009 at 7:11 PM, Hans Wichman j.c.wich...@objectpainters.com wrote: Hi, yes it is destructive, but as you can read here: http://www.adobe.com/devnet/flash/articles/image_api_05.html you can find out the size of the bitmap after filtering (imagine a big blur),

[Flashcoders] using applyFilter with a BitmapData object (AS2)

2009-03-11 Thread allandt bik-elliott (thefieldcomic.com)
Hi guys I have a question - if I use a ColorMatrixFilter on a BitmapData object, does it work like mc.filters = arFiltersArray in that it is non-destructive to the mc (it can be removed) or is it destructive (once you apply it, you can't then un-apply it)? ta a

Re: [Flashcoders] using applyFilter with a BitmapData object (AS2)

2009-03-11 Thread Hans Wichman
Hi, yes it is destructive, but as you can read here: http://www.adobe.com/devnet/flash/articles/image_api_05.html you can find out the size of the bitmap after filtering (imagine a big blur), create a new bitmap and specify a source bitmap to the applyfilter call. If you don't want it to be