Setting tint

You can use variables defined in a data source to modify the tint of movie clips and graphic symbols. Set Tint applies a tint to all colors of the instance. You specify a percentage (0 % to 100%) and an integer value of 0 to 255 for red, green, and blue. The red, green, and blue values specify the tint color, while the percentage value governs the degree of the tint color applied.

You can use Set Tint to change an object to a solid color by setting the appropriate RGB values and specifying a Percent value of 100%.

To set the tint of an instance:

1 Create a movie clip or graphic symbol and place an instance of the symbol on the stage.
2 Make sure the Generator inspector is displayed by choosing Window > Inspectors > Generator.
3 Select the symbol instance.
4 In the Generator inspector, choose Set Tint from the pop-up menu.
5 Specify either a variable or a value for the Percent, Red, Green, and Blue options.