Be a Supporter!

change tint?

  • 292 Views
  • 2 Replies
New Topic Respond to this Topic
JeremysFilms
JeremysFilms
  • Member since: Feb. 18, 2005
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
change tint? 2006-07-08 12:55:38 Reply

hey, I forget, how do you change the tint of an MC dynamically with actionscript? Is there a property for it or a function or something?

GuyWithHisComp
GuyWithHisComp
  • Member since: Nov. 10, 2005
  • Offline.
Forum Stats
Member
Level 28
Blank Slate
Response to change tint? 2006-07-08 13:10:05 Reply

I don't think it's possible.
You can change the color thought, but that would change the whole mcs color.


BBS Signature
JeremysFilms
JeremysFilms
  • Member since: Feb. 18, 2005
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to change tint? 2006-07-08 13:16:06 Reply

At 7/8/06 01:10 PM, GuyWithHisComp wrote: I don't think it's possible.
You can change the color thought, but that would change the whole mcs color.

Never mind, I was looking in the AS library and found that there's a Color object that can be used with setRGB. So I just have to use something like:

color = new Color(_root.mc);
color.setRGB(0xff0000);

Thanks anyway