home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / multimedia / scala / HELP / SOUND1B.SCA < prev    next >
Encoding:
Text File  |  1996-05-14  |  5.3 KB  |  149 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\sound1B.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: None^nThis indicates that none of the sample functions are selected.";
  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. Wait();
  28. Sequence:
  29. Use(SetUp);
  30. Use(DrawBox);
  31. Button(Wipe("BlindsFantasy3",Speed(7),Direction(90)),Normal(Box(BoxX+BoxW+10,BoxY,115,BoxH,Style(Info))));
  32. Text(BoxX+BoxW+15,BoxY+5,"Sound Screens:",Style(Mid),Justify(Center,Top),Wrap(Off,Auto(340)));
  33. Text(BoxX+BoxW+17,BoxY+25,"Sample",Style(LayoutText));
  34. 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)));
  35. 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)));
  36. 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)));
  37. 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)));
  38. Text(BoxX+BoxW+17,BoxY+86,"Sample: None",Style(LayoutText));
  39. 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)));
  40. 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)));
  41. 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)));
  42. 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)));
  43. Resources:
  44. :infobutton
  45. {
  46. title="Information button";
  47. text[1]="Switches Scala into Help mode. ";
  48. descr=text[1];
  49. block=1;
  50. max=1;
  51. Use(SetPos);
  52. }
  53. :soundtype
  54. {
  55. title="Sound type buttons";
  56. 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.";
  57. descr=text[1];
  58. block=1;
  59. max=1;
  60. Use(SetPos);
  61. }
  62. :panelpopup
  63. {
  64. title="Panel pop-up";
  65. 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.";
  66. descr=text[1];
  67. block=1;
  68. max=1;
  69. Use(SetPos);
  70. }
  71. :preview
  72. {
  73. title="Preview";
  74. text[1]="Lets you test a sound event by viewing the page with the sound event(s) you have added.";
  75. descr=text[1];
  76. block=1;
  77. max=1;
  78. Use(SetPos);
  79. }
  80. :okbutton
  81. {
  82. title="OK";
  83. text[1]="Accepts changes and exits the Sound menu.";
  84. descr=text[1];
  85. block=1;
  86. max=1;
  87. Use(SetPos);
  88. }
  89. :cancelbutton
  90. {
  91. title="Cancel";
  92. text[1]="Returns to the Main or List menu without applying changes.";
  93. descr=text[1];
  94. block=1;
  95. max=1;
  96. Use(SetPos);
  97. }
  98. }
  99. Resources:
  100. :sub2a
  101. {
  102. Group:
  103. SubNum="2a";
  104. Quit(1);
  105. }
  106. :sub3a
  107. {
  108. Group:
  109. SubNum="3a";
  110. Quit(1);
  111. }
  112. :sub4a
  113. {
  114. Group:
  115. SubNum="4a";
  116. Quit(1);
  117. }
  118. :sub1a
  119. {
  120. Group:
  121. SubNum="1a";
  122. Quit(1);
  123. }
  124. :sub1c
  125. {
  126. Group:
  127. SubNum="1c";
  128. Quit(1);
  129. }
  130. :sub1d
  131. {
  132. Group:
  133. SubNum="1d";
  134. Quit(1);
  135. }
  136. :sub1e
  137. {
  138. Group:
  139. SubNum="1e";
  140. Quit(1);
  141. }
  142. :sub1f
  143. {
  144. Group:
  145. SubNum="1f";
  146. Quit(1);
  147. }
  148. }
  149.