如何为图像添加棕褐色(深棕色 - 灰色)色彩效果?可以通过以下功能完成吗?
import fl.motion.AdjustColor;
import flash.filters.ColorMatrixFilter;
//
var colorFilter:AdjustColor = new AdjustColor();
var mColorMatrix:ColorMatrixFilter;
var mMatrix:Array = [];
function adjustColors(e:Event=null):void{
colorFilter.brightness = 10
colorFilter.contrast = 20
colorFilter.saturation = 40
colorFilter.hue = 30
mMatrix = colorFilter.CalculateFinalFlatArray();
mColorMatrix = new ColorMatrixFilter(mMatrix);
//
mymc.filters = [mColorMatrix];
}
由于