title: Coloring grayscale image as3
body: <p>I need to dynamically color a grayscale gradient bitmap with ActionScript 3.0. Gradient goes form white to black, the darkest color has to be 0xFF0000, lightest 0xFFFFFF. Tried paletteMap and ColorMatrixFilter with mixed result and no stable solution. </p>