Using Director > Color, Tempo, and Transitions > Controlling color > Controlling color palettes with Lingo

 

Controlling color palettes with Lingo

By using the puppetPalette command, you can change the current palette and specify how quickly a new palette fades in. This command is useful when you want to change the palette to suit changing conditions in the movie without entering a new frame. For example, you can change the palette when you switch a cast member assigned to a sprite.

The new palette remains in effect until a new puppetPalette command is issued, a new palette is set in the palette channel, or a new movie starts.

See puppetPalette.