Hi !
Thanks. The alpha didn't look good. It gave it a darker, much shiny look.
But I found a solution, deep down the javascript road. Only because of your suggestion. So thanks.
Heres how it looks
function mSetColor(imName, colorImName, hex) {
console.log(":: mSetColor ::")
// I have two of the same images, excactly at the same coordinates
var image = pBikeContainer.getChildByName ( imName )
var colorIm = pBikeContainer.getChildByName ( colorImName )
// the one on top has a blending of "hard-light"
image.compositeOperation = "hard-light";
// here Im just converting the hex values from #FF0000 to =xFF0000
hex = mReplace(hex, "#", "0x", false)
hex = Number(hex)
// get the bounds, so I can color the image
var mbounds = colorIm.getTransformedBounds();
colorIm.cache(0, 0, mbounds.width, mbounds.height);
// The image beneath get a tint. It will be totaly flat and one color, but the image above with a blending of "hard-ligt" will let the color through. (see attached. The left is th original. The right withe 2 images on top of eachother)
var tl = new TimelineMax();
tl.to(colorIm, 0.1, {
easel: {
tint: hex,
tintAmount: 1
}
})
}