Tinting MC's With Action Script?

Is it possible to use the tint effect through action scripting?

you can change the colour of a clip with as like this:


Col = new Color(myClip);
Col.setRGB(0xff0000);

that simulates a tint with 100% opacity, but I don’t know how you’d do it if you wanted say 50% transparency

Actually, 50% transparency is exactly what i needed. (-:

Isn’t there some sort of property that can change this?

you can set the movieclips’ transparency to 50% by putting this in its first frame:

_alpha = 50;

but thats not the same as giving a movieclip a tint in flash and then setting the alpha of that tint to 50%. Which one are you after?

Sorry, i meant a tint with 50% transparency… like having the image darkened(if the tint was black).

http://proto.layer51.com/d.aspx?f=615

*Originally posted by senocular *
**http://proto.layer51.com/d.aspx?f=615 **
interesting prototype, senocular… i only wish i knew what was goin on… :stuck_out_tongue: