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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Random tint for MC

Status
Not open for further replies.

WhiteTiger

Programmer
Jun 26, 2001
605
US
I have a white ball thats a radial gradient that I'm using as my paintballs on this site. what I'd like to do, is change the tint of the ball randomly...how could I do this?

Also, I really gotta get the duplicate MC thing workin soon...I'll get on w/ it after this and put it all together. =) Regards,
Anth:cool:ny
 
You can use setRGB to change the overall colour of a clip dynamically but that will affect the appearance of the gradient (it'll end up as a solid fill).

The best thing to do is set up a Color() object for the clip which will allow you to set up tints dynamically with the same kind of controls and parameters offered by the Color>Advanced panel in the authoring environment. Slainte

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top