home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / multimedia / scala / HELP / SOUND1E.SCA < prev    next >
Text File  |  1996-05-14  |  7KB  |  179 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\sound1E.gif",transparent(off));
  18.     title="";
  19. pagename="Sound Menu:Sample panels";
  20. pagedescr="Lets you control options related to sampled sounds. Use the Panel pop-up to choose from five functions available: Play, Wait, Stop, Volume and Pan.^n^nSample: Volume^nSets the volume for all samples 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(samplevolslider)));
  28. Button(Normal(Box(4,356,208,25,Style(Norm))),Highlight(Box(4,356,208,25,Style(High))),Select(Box(4,356,208,25,Style(Sel)),Use(samplevolfadetime)));
  29. Button(Normal(Box(109,450,100,25,Style(Norm))),Highlight(Box(109,450,100,25,Style(High))),Select(Box(109,450,100,25,Style(Sel)),Use(samplevolwait)));
  30. Wait();
  31. Sequence:
  32. Use(SetUp);
  33. Use(DrawBox);
  34. Button(Wipe("BlindsFantasy3",Speed(7),Direction(90)),Normal(Box(BoxX+BoxW+10,BoxY,115,BoxH,Style(Info))));
  35. Text(BoxX+BoxW+15,BoxY+5,"Sound Screens:",Style(Mid),Justify(Center,Top),Wrap(Off,Auto(340)));
  36. Text(BoxX+BoxW+17,BoxY+25,"Sample",Style(LayoutText));
  37. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+36,"MIDI",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+36,"MIDI",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+36,"MIDI",Style(Layout3)),goto(sub2a)));
  38. 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)));
  39. 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)));
  40. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+75,"Sample: Play",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+75,"Sample: Play",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+75,"Sample: Play",Style(Layout3)),goto(sub1a)));
  41. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+86,"Sample: None",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+86,"Sample: None",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+86,"Sample: None",Style(Layout3)),goto(sub1b)));
  42. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+97,"Sample: Wait",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+97,"Sample: Wait",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+97,"Sample: Wait",Style(Layout3)),goto(sub1c)));
  43. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+108,"Sample: Stop",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+108,"Sample: Stop",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+108,"Sample: Stop",Style(Layout3)),goto(sub1d)));
  44. Text(BoxX+BoxW+17,BoxY+119,"Sample: Volume",Style(LayoutText));
  45. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+130,"Sample: Pan",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+130,"Sample: Pan",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+130,"Sample: Pan",Style(Layout3)),goto(sub1f)));
  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. :samplevolslider
  102. {
  103. title="Volume slider";
  104. text[1]="Adjusts the loudness of the selected sound sample. Default: maximum.";
  105. descr=text[1];
  106. block=1;
  107. max=1;
  108. Use(SetPos);
  109. }
  110. :samplevolfadetime
  111. {
  112. title="Fade Time";
  113. text[1]="Specifies the time in seconds (from 0 to 99) taken to adjust the volume of the samples currently playing to match the Volume slider level. Wait? is available with a Fade Time other than zero.";
  114. descr=text[1];
  115. block=1;
  116. max=1;
  117. Use(SetPos);
  118. }
  119. :samplevolwait
  120. {
  121. title="Wait?";
  122. text[1]="Controls the flow of a script. When on, Wait? instructs the script to wait until the Fade finishes before proceeding to the next event. It is on by default.";
  123. descr=text[1];
  124. block=1;
  125. max=1;
  126. Use(SetPos);
  127. }
  128. }
  129. Resources:
  130. :sub2a
  131. {
  132. Group:
  133. SubNum="2a";
  134. Quit(1);
  135. }
  136. :sub3a
  137. {
  138. Group:
  139. SubNum="3a";
  140. Quit(1);
  141. }
  142. :sub4a
  143. {
  144. Group:
  145. SubNum="4a";
  146. Quit(1);
  147. }
  148. :sub1a
  149. {
  150. Group:
  151. SubNum="1a";
  152. Quit(1);
  153. }
  154. :sub1b
  155. {
  156. Group:
  157. SubNum="1b";
  158. Quit(1);
  159. }
  160. :sub1c
  161. {
  162. Group:
  163. SubNum="1c";
  164. Quit(1);
  165. }
  166. :sub1d
  167. {
  168. Group:
  169. SubNum="1d";
  170. Quit(1);
  171. }
  172. :sub1f
  173. {
  174. Group:
  175. SubNum="1f";
  176. Quit(1);
  177. }
  178. }
  179.