Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modifying Tint

Status
Not open for further replies.

lumstar

Technical User
Jan 29, 2002
177
CA
How do I modify a symbol's colour (tint) using actionscript?

Thanks in Advance __________________________________
Keep On Coding!!

Lumstar
 
I just figured it out, here's how you do it, for anyone else who is interested.

place this on the first frame of your movie:

myColor = new Color(MovieClip);
myColor.setRGB(0xhexvalue);

where MovieClip is the name of the mc's instance.
myColor is a variable which can be called whatever you wish. __________________________________
Keep On Coding!!

Lumstar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top