Setting cast member properties using Lingo or JavaScript syntax

Lingo or JavaScript syntax lets you control and edit cast members by setting their properties. Some properties are available for every type of cast member, and other properties are available only for specific cast member types. For more information about these properties, see the Scripting Reference topics in the Director Help Panel.

To specify the cast member's content:

To specify the cast member's name:

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

To specify the cast member's purge priority:

To specify the content of the script that is attached to the cast member:

To specify the file that is assigned to a linked cast member:

For additional cast member properties that you can test and set using Lingo or JavaScript syntax, see the properties in the Scripting Reference topics in the Director Help Panel.