home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / multimedia / scala / HELP / SOUND2H.SCA < prev    next >
Encoding:
Text File  |  1996-05-14  |  6.1 KB  |  173 lines

  1. !ScalaScript
  2. {
  3. Sequence:
  4. :"SubScript"
  5. {
  6. Group:
  7. BoxX.1=139;
  8. BoxY.1=37;
  9. BoxX.2=0;
  10. BoxY.2=0;
  11. BoxX=BoxX.1;
  12. BoxY=BoxY.1;
  13. BoxW=360;
  14. BoxH=249;
  15. Descr="Click a button to get information about it!";
  16. Picture("Scala:\help\graphics\soundbak.gif",UserPalette(RGBPen(1,0,16777215,12632256,5592405,8553090,11184810)));
  17. Clip(0,292,"Scala:\help\graphics\sound2H.gif",transparent(off));
  18.     title="";
  19. pagename="Sound Menu:MIDI panels";
  20. pagedescr="Lets you control options related to MIDI music files. Use the Panel pop-up to choose from the seven functions available: Play, Wait, Stop, Pause, Resume, Volume and Pan.^n^nMIDI: Pan^nChanges the balance of the MIDI file currently playing.";
  21. Button(Normal(Box(620,292,19,25,Style(Norm))),Highlight(Box(620,292,19,25,Style(High))),Select(Box(620,292,19,25,Style(Sel)),Use(infobutton)));
  22. Button(Normal(Box(4,322,415,25,Style(Norm))),Highlight(Box(4,322,415,25,Style(High))),Select(Box(4,322,415,25,Style(Sel)),Use(soundtype)));
  23. Button(Normal(Box(426,322,209,25,Style(Norm))),Highlight(Box(426,322,209,25,Style(High))),Select(Box(426,322,209,25,Style(Sel)),Use(panelpopup)));
  24. Button(Normal(Box(4,450,100,25,Style(Norm))),Highlight(Box(4,450,100,25,Style(High))),Select(Box(4,450,100,25,Style(Sel)),Use(preview)));
  25. Button(Normal(Box(429,450,100,25,Style(Norm))),Highlight(Box(429,450,100,25,Style(High))),Select(Box(429,450,100,25,Style(Sel)),Use(okbutton)));
  26. Button(Normal(Box(534,450,101,25,Style(Norm))),Highlight(Box(534,450,101,25,Style(High))),Select(Box(534,450,101,25,Style(Sel)),Use(cancelbutton)));
  27. Button(Normal(Box(4,400,208,22,Style(Norm))),Highlight(Box(4,400,208,22,Style(High))),Select(Box(4,400,208,22,Style(Sel)),Use(midipanslider)));
  28. Wait();
  29. Sequence:
  30. Use(SetUp);
  31. Use(DrawBox);
  32. Button(Wipe("BlindsFantasy3",Speed(7),Direction(90)),Normal(Box(BoxX+BoxW+10,BoxY,115,BoxH,Style(Info))));
  33. Text(BoxX+BoxW+15,BoxY+5,"Sound Screens:",Style(Mid),Justify(Center,Top),Wrap(Off,Auto(340)));
  34. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+25,"Sample",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+25,"Sample",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+25,"Sample",Style(Layout3)),goto(sub1a)));
  35. Text(BoxX+BoxW+17,BoxY+36,"MIDI",Style(LayoutText));
  36. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+47,"CD",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+47,"CD",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+47,"CD",Style(Layout3)),goto(sub3a)));
  37. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+58,"Mixer",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+58,"Mixer",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+58,"Mixer",Style(Layout3)),goto(sub4a)));
  38. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+75,"MIDI: Play",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+75,"MIDI: Play",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+75,"MIDI: Play",Style(Layout3)),goto(sub2a)));
  39. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+86,"MIDI: None",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+86,"MIDI: None",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+86,"MIDI: None",Style(Layout3)),goto(sub2b)));
  40. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+97,"MIDI: Wait",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+97,"MIDI: Wait",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+97,"MIDI: Wait",Style(Layout3)),goto(sub2c)));
  41. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+108,"MIDI: Stop",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+108,"MIDI: Stop",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+108,"MIDI: Stop",Style(Layout3)),goto(sub2d)));
  42. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+119,"MIDI: Resume",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+119,"MIDI: Resume",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+119,"MIDI: Resume",Style(Layout3)),goto(sub2e)));
  43. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+130,"MIDI: Pause",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+130,"MIDI: Pause",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+130,"MIDI: Pause",Style(Layout3)),goto(sub2f)));
  44. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+141,"MIDI: Volume",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+141,"MIDI: Volume",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+141,"MIDI: Volume",Style(Layout3)),goto(sub2g)));
  45. Text(BoxX+BoxW+17,BoxY+152,"MIDI: Pan",Style(LayoutText));
  46. Resources:
  47. :infobutton
  48. {
  49. title="Information button";
  50. text[1]="Switches Scala into Help mode. ";
  51. descr=text[1];
  52. block=1;
  53. max=1;
  54. Use(SetPos);
  55. }
  56. :soundtype
  57. {
  58. title="Sound type buttons";
  59. text[1]="Select a type of sound event - Sample, MIDI, CD or Mixer. Each sound type has its own set of control panels. Clicking on a Sound button in the Main or List menus opens the Sound menu and activates the Sound control panel that applies to that event. If no sound event has been defined, Sample is selected.";
  60. descr=text[1];
  61. block=1;
  62. max=1;
  63. Use(SetPos);
  64. }
  65. :panelpopup
  66. {
  67. title="Panel pop-up";
  68. text[1]="Lets you access the control panels for the selected sound type events. ^"None^" on this button indicates that no sound event of that type is defined for the current element or page.^n^nChanges made in the sound settings are not displayed on the column button until you accept them and return to the Main menu, or move to another page.";
  69. descr=text[1];
  70. block=1;
  71. max=1;
  72. Use(SetPos);
  73. }
  74. :preview
  75. {
  76. title="Preview";
  77. text[1]="Lets you test a sound event by viewing the page with the sound event(s) you have added.";
  78. descr=text[1];
  79. block=1;
  80. max=1;
  81. Use(SetPos);
  82. }
  83. :okbutton
  84. {
  85. title="OK";
  86. text[1]="Accepts changes and exits the Sound menu.";
  87. descr=text[1];
  88. block=1;
  89. max=1;
  90. Use(SetPos);
  91. }
  92. :cancelbutton
  93. {
  94. title="Cancel";
  95. text[1]="Returns to the Main or List menu without applying changes.";
  96. descr=text[1];
  97. block=1;
  98. max=1;
  99. Use(SetPos);
  100. }
  101. :midipanslider
  102. {
  103. title="Pan slider";
  104. text[1]="Adjusts the left/right balance of the current MIDI file. Default: centered.";
  105. descr=text[1];
  106. block=1;
  107. max=1;
  108. Use(SetPos);
  109. }
  110. }
  111. Resources:
  112. :sub1a
  113. {
  114. Group:
  115. SubNum="1a";
  116. Quit(1);
  117. }
  118. :sub3a
  119. {
  120. Group:
  121. SubNum="3a";
  122. Quit(1);
  123. }
  124. :sub4a
  125. {
  126. Group:
  127. SubNum="4a";
  128. Quit(1);
  129. }
  130. :sub2a
  131. {
  132. Group:
  133. SubNum="2a";
  134. Quit(1);
  135. }
  136. :sub2b
  137. {
  138. Group:
  139. SubNum="2b";
  140. Quit(1);
  141. }
  142. :sub2c
  143. {
  144. Group:
  145. SubNum="2c";
  146. Quit(1);
  147. }
  148. :sub2d
  149. {
  150. Group:
  151. SubNum="2d";
  152. Quit(1);
  153. }
  154. :sub2e
  155. {
  156. Group:
  157. SubNum="2e";
  158. Quit(1);
  159. }
  160. :sub2f
  161. {
  162. Group:
  163. SubNum="2f";
  164. Quit(1);
  165. }
  166. :sub2g
  167. {
  168. Group:
  169. SubNum="2g";
  170. Quit(1);
  171. }
  172. }
  173.