-
tint percentage
hello all,
i have looked through the forums history but i can only find code that will help change the entire colour of the movieclip whereas i need it to have a tint percentage, you know just about 25 percent or so?
the code:
var my_color:Color = new Color(mc);
my_color.setRGB(10*124323);
aynone help?
sorry that ive just repeated a load of threads
-
i found it
var trans= new Object();
trans.ra = 50;
trans.rb = 244;
trans.ga = 40;
trans.gb = 112;
trans.ba = 12;
trans.bb = 90;
trans.aa = 40;
trans.ab = 70;
var col = new Color(my_mc);
col.setTransform(trans);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|