here is a quick way to do this if you want to set the hue, say h (0.5, 0.2, 0.3).
var matrix:Array = new Array(); matrix = matrix.concat([.5, .5, .5, 0, 0]); matrix = matrix.concat([.2, .2, .2, 0, 0]); matrix = matrix.concat([.3, .3, .3, 0, 0]); matrix = matrix.concat([0, 0, 0, 1, 0]); var filter:ColorMatrixFilter = new ColorMatrixFilter(matrix); image.filters = [filter];
I'm not sure that he respects brightness perfectly, but can satisfy your needs!
Kodiak
source share