Lingo Dictionary > L-N > media |  |

media

Syntax

    member(whichCastMember).media
    the media of member whichCastMember

Description

Cast member property; identifies the specified cast member as a set of numbers. Because setting the `media` member property can use large amounts of memory, this property is best used during authoring only.

You can use the`media` member property to copy the content of one cast member into another cast member by setting the second cast member's `media` value to the `media` value for the first cast member.

For a film loop cast member, the `media` member property specifies a selection of frames and channels in the Score.

To swap media in a projector, it's more efficient to set the `member` sprite property.

Example

This statement copies the content of the cast member Sunrise into the cast member Dawn by setting the `media` member property value for Dawn to the `media` member property value for Sunrise:

    member("Dawn").media = member("Sunrise").media

See also

`type (cast member property)`