home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / multimedia / scala / HELP / SOUND1F.SCA < prev    next >
Text File  |  1996-05-14  |  6KB  |  159 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\sound1F.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: Pan^nApplies the same left/right balance to all sound 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(samplepanslider)));
  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. Text(BoxX+BoxW+17,BoxY+25,"Sample",Style(LayoutText));
  35. 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)));
  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,"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)));
  39. 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)));
  40. 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)));
  41. 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)));
  42. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+119,"Sample: Volume",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+119,"Sample: Volume",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+119,"Sample: Volume",Style(Layout3)),goto(sub1e)));
  43. Text(BoxX+BoxW+17,BoxY+130,"Sample: Pan",Style(LayoutText));
  44. Resources:
  45. :infobutton
  46. {
  47. title="Information button";
  48. text[1]="Switches Scala into Help mode. ";
  49. descr=text[1];
  50. block=1;
  51. max=1;
  52. Use(SetPos);
  53. }
  54. :soundtype
  55. {
  56. title="Sound type buttons";
  57. 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.";
  58. descr=text[1];
  59. block=1;
  60. max=1;
  61. Use(SetPos);
  62. }
  63. :panelpopup
  64. {
  65. title="Panel pop-up";
  66. 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.";
  67. descr=text[1];
  68. block=1;
  69. max=1;
  70. Use(SetPos);
  71. }
  72. :preview
  73. {
  74. title="Preview";
  75. text[1]="Lets you test a sound event by viewing the page with the sound event(s) you have added.";
  76. descr=text[1];
  77. block=1;
  78. max=1;
  79. Use(SetPos);
  80. }
  81. :okbutton
  82. {
  83. title="OK";
  84. text[1]="Accepts changes and exits the Sound menu.";
  85. descr=text[1];
  86. block=1;
  87. max=1;
  88. Use(SetPos);
  89. }
  90. :cancelbutton
  91. {
  92. title="Cancel";
  93. text[1]="Returns to the Main or List menu without applying changes.";
  94. descr=text[1];
  95. block=1;
  96. max=1;
  97. Use(SetPos);
  98. }
  99. :samplepanslider
  100. {
  101. title="Pan slider";
  102. text[1]="Sets the left/right balance. Default: centered.";
  103. descr=text[1];
  104. block=1;
  105. max=1;
  106. Use(SetPos);
  107. }
  108. }
  109. Resources:
  110. :sub2a
  111. {
  112. Group:
  113. SubNum="2a";
  114. Quit(1);
  115. }
  116. :sub3a
  117. {
  118. Group:
  119. SubNum="3a";
  120. Quit(1);
  121. }
  122. :sub4a
  123. {
  124. Group:
  125. SubNum="4a";
  126. Quit(1);
  127. }
  128. :sub1a
  129. {
  130. Group:
  131. SubNum="1a";
  132. Quit(1);
  133. }
  134. :sub1b
  135. {
  136. Group:
  137. SubNum="1b";
  138. Quit(1);
  139. }
  140. :sub1c
  141. {
  142. Group:
  143. SubNum="1c";
  144. Quit(1);
  145. }
  146. :sub1d
  147. {
  148. Group:
  149. SubNum="1d";
  150. Quit(1);
  151. }
  152. :sub1e
  153. {
  154. Group:
  155. SubNum="1e";
  156. Quit(1);
  157. }
  158. }
  159.