Thanks both for the reply from both of you
Probably draw a sprite, apply X filter, extract its bitmapdata, draw image
Is there a example on the internet on how to extract its bitmap data, draw image. Because I have only been drawing images rather than extracting the bitmap data.(is there a advantage of this).