Lingo Dictionary > S > scoreSelection |
![]() ![]() ![]() |
scoreSelection
Syntax
the scoreSelection
Description
Movie property; determines which channels are selected in the Score window. 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.
To specify: |
Use: |
---|---|
Frame script channel |
0 |
Sound channel 1 |
-1 |
Sound channel 2 |
-2 |
Transition channel |
-3 |
Palette channel |
-4 |
Tempo channel |
-5 |
You can select discontinuous channels or frames.
This property can be tested and set.
Example
This statement selects sprite channels 15 through 25 in frames 100 through 200:
set the scoreSelection = [[15, 25, 100, 200]]
Example
This statement selects sprite channels 15 through 25 and 40 through 50 in frames 100 through 200:
set the scoreSelection = [[15, 25, 100, 200], [40, 50, 100, 200]]
Example
This statement selects the frame script in frames 100 through 200:
set the scoreSelection = [[0, 0, 100, 200]]
See also
beginRecording, clearFrame, deleteFrame, duplicateFrame, endRecording, insertFrame
![]() ![]() ![]() |