-- Lingo syntax _movie.scoreSelection // JavaScript syntax _movie.scoreSelection;
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.
| 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 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));
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_pr557.htm