User Guide

scoreSelection 973
scoreSelection
Usage
-- Lingo syntax
_movie.scoreSelection
// JavaScript syntax
_movie.scoreSelection;
Description
Movie property; determines which channels are selected in the Score window. Read/write.
The information is formatted as a linear list of linear lists. Each contiguous selection is in a list
format consisting of the starting channel number, ending channel number, starting frame
number, and ending frame number. Specify sprite channels by their channel numbers; use the
following numbers to specify the other channels.
You can select discontinuous channels or frames.
Example
This statement selects sprite channels 15 through 25 in frames 100 through 200:
-- Lingo syntax
_movie.scoreSelection = [[15, 25, 100, 200]]
// JavaScript syntax
_movie.scoreSelection = list(list(15, 25, 100, 200));
This statement selects sprite channels 15 through 25 and 40 through 50 in frames 100
through 200:
-- Lingo syntax
_movie.scoreSelection = [[15, 25, 100, 200], [40, 50, 100, 200]]
// JavaScript syntax
_movie.scoreSelection = list(list(15, 25, 100, 200), list(40, 50, 100, 200));
This statement selects the frame script in frames 100 through 200:
-- Lingo syntax
_movie.scoreSelection = [[0, 0, 100, 200]]
// JavaScript syntax
_movie.scoreSelection = list(list(0, 0, 100, 200));
See also
Movie
To specify: Use:
Frame script channel 0
Sound channel 1 -1
Sound channel 2 -2
Transition channel -3
Palette channel -4
Tempo channel -5