Lingo Dictionary > O-R > palette |  |

palette

Syntax

    member(whichCastMember).palette
    the palette of member whichCastMember

Description

Cast member property; for bitmap cast members only, determines which palette is associated with the cast member specified by `whichCastMember`.

This property can be tested and set.

Example

This statement displays the palette assigned to the cast member Leaves in the Message window:

    put member("Leaves").palette