script

Usage

-- Lingo syntax
_movie.script[scriptNameOrNum]

// JavaScript syntax
_movie.script[scriptNameOrNum];

Description

Movie property; provides indexed or named access to the script cast members of a movie. Read-only.

The scriptNameOrNum argument can be either a string that specifies the name of the script cast member or an integer that specifies the number of the script cast member.

Example

The following statement accesses a named script.

-- Lingo syntax
bugScript = _movie.script["Warrior Ant"]

// JavaScript syntax
var bugScript = _movie.script["Warrior Ant"];

See also

Movie


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/director/mx2004/release_en/09_pr558.htm