I have an image inside a movieclip, with the alpha set to 30%. Now I’d want to be able to change the tint (like Hue from Photoshop) of that movieclip on button press. I figured it might be possible by creating a new movieclip, putting a transparant square in it and changing the _alpha and color on buttonpress, but isn’t it possible to do directly change the tint of the movie with the image inside with actionscript ?
I tried senocular’s method (http://proto.layer51.com/d.aspx?f=615), but my movie turned all pink instead of red tranparant. Can anyone help me with this ?
[AS]
var clearColor = new Color(_root.bg);
clearColor.setTransform({rb:0,gb:0,bb:0, aa:100});
var redColor = new Color(_root.bg);
redColor.setTransform({rb:100, aa:30});
[/AS]
Oh, I see, I forgot to mention that I have three buttons A red, a blue and a green one. So I had to set everything back to zero before changing it You couldn’t now I had three buttons, it worked for one