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([0.3086, 0.6094, 0.0820, 0, 0, 0.3086, 0.6094, 0.0820, 0, 0, 0.3086, 0.6094, 0.0820, 0, 0, 0, 0, 0, 1, 0])];
This movie requires Flash Player 9