788
Chapter 14: Properties
frameScript
Usage
-- Lingo syntax
_movie.frameScript
// JavaScript syntax
_movie.frameScript;
Description
Movie property; contains the unique cast member number of the frame script assigned to the
current frame. Read/write during a Score recording session only.
During a Score generation session, you can also assign a frame script to the current frame by
setting the
frameScript
property.
If there is no frame script assigned to the current frame, this property returns 0.
Example
The following statement displays the number of the script assigned to the current frame. In this
case, the script number is 25.
-- Lingo syntax
put(_movie.frameScript)
// JavaScript syntax
put(_movie.frameScript);
This statement makes the script cast member Button responses the frame script for the
current frame:
-- Lingo syntax
_movie.frameScript = member("Button responses")
// JavaScript syntax
_movie.frameScript = member("Button responses");
See also
Movie
frameSound1
Usage
-- Lingo syntax
_movie.frameSound1
// JavaScript syntax
_movie.frameSound1;
Description
Movie property; determines the number of the cast member assigned to the first sound channel in
the current frame. Read/write.
This property can also be set during a Score recording session.
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...