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.
Содержание DIRECTOR MX 2004
Страница 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Страница 48: ...48 Chapter 2 Director Scripting Essentials...
Страница 100: ...100 Chapter 4 Debugging Scripts in Director...
Страница 118: ...118 Chapter 5 Director Core Objects...
Страница 594: ...594 Chapter 12 Methods...
Страница 684: ...684 Chapter 14 Properties See also DVD...
Страница 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Страница 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Страница 889: ...netPresent 889 _player alert Sorry the Network Support Xtras could not be found See also Player...
Страница 1102: ...1102 Chapter 14 Properties...