DropShadowilter on BitmapData?

Hi guys,

I’m having problems applying a DropShadowFilter to a BitmapData object. I have one large BitmapData that contains all my little images, when I render I simply use copyPixels to copy the little images to the background. I want to apply a DropShadow to some of them but I can’t figure it out.

I tried using applyFilter but it gives me an error. It works fine if I use the BlurFilter though.

Thanks.