Lingo Dictionary > O-R > picture (cast member property) |  |

picture (cast member property)

Syntax

    member(whichCastMember).picture
    the picture of member whichCastMember

Description

Cast member property; determines which image is associated with a bitmap, text, or PICT cast member. To update changes to a cast member's registration point or update changes to an image after relinking it using the `fileName` property, use the following statement:

    member(whichCastMember).picture = member(whichCastMember).picture

where you replace `whichCastMember` with the name or number of the affected cast member.

Because changes to cast members are stored in RAM, this property is best used during authoring. Avoid setting it in projectors.

The property can be tested and set.

Example

This statement sets the variable named `pictHolder` to the image in the cast member named Sunset:

    pictHolder = member("Sunset").picture

See also

`type (sprite property)`