-- Lingo syntax _movie.castLib[castNameOrNum] // JavaScript syntax _movie.castLib[castNameOrNum];
Movie property; provides named or indexed access to the cast libraries of a movie, whether the movie is active or not. Read-only.
The castNameOrNum argument can be either a string that specifies the name of the movie to access or an integer that specifies the number of the movie to access.
This property provides functionality similar to the top level castLib() method, except that the castLib() method applies only to the currently active movie.
This statement displays the number of the Buttons cast in the Message window.
-- Lingo syntax put(_movie.castLib["Buttons"].number) // JavaScript syntax put(_movie.castLib["Buttons"].number);
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/director/mx2004/release_update_en/09_pr106.htm