You can use variables defined in a data source to modify the brightness of movie clips and graphic symbols. Set Brightness adjusts the brightness percentage of the instance. You specify a percentage from -100 to 100. Positive values increase brightness; negative values reduce brightness. A value of 0 specifies no change to brightness.
To set the brightness 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 Brightness from the pop-up menu. |
5 | Specify a variable for the Percent using the {variableName} syntax or specify a value from -100 to 100. |
![]() |