var mtrx:Array=[ 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, -1, 255]; var filter:ColorMatrixFilter = new ColorMatrixFilter(mtrx); bmd.applyFilter(bmd, bmd.rect, new Point(), filter);