Using Director > Cast members and Cast windows > Setting cast member properties using Lingo |  |

Setting cast member properties using Lingo

Lingo lets you control and edit cast members by setting their properties. Some properties are available for every type of cast member. Other properties are available only for specific cast member types.

To specify the cast member's content:

Set the `media` cast member property. See `media`.

To specify the cast member's name:

Set the `name` cast member property. See `name (cast member property)`.

To set the contents of the cast member's comments field:

Set the `comments` cast member property. You can store any text information in this field that you find useful and access it at runtime by getting the `comments` property. See `comments`.

To specify the cast member's purge priority:

Set the `purgePriority` cast member property. See `purgePriority`.

To specify the content of the script, if any, attached to the cast member:

Set the `scriptText` cast member property. See `scriptText`.

To specify the file assigned to a linked cast member:

Set the `fileName` cast member property. See `fileName (cast member property)`.

For additional cast member properties that Lingo can test and set, refer to the Lingo Dictionary sections that discuss the specific cast member type.