using ColorMatrixFilter-Action-Script
Import an image into the flash
convert to movieclip
give identifier as sample
and here is the code
var img:sample = new sample(); addChild(img); img.x = stage.stageWidth/2; img.y = stage.stageHeight/2; img.filters = [new ColorMatrixFilter([-1, 0, 0, 0, 255, 0, -1, 0, 0, 255, 0, 0, -1, 0, 255, 0, 0, 0, 1, 0])];
This movie requires Flash Player 9