home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / multimedia / scala / HELP / SOUND3H.SCA < prev    next >
Text File  |  1996-05-14  |  10KB  |  255 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\sound3H.gif",transparent(off));
  18.     title="";
  19. pagename="Sound Menu:CD panels";
  20. pagedescr="Lets you access audio tracks available on standard audio compact discs. Use the Panel pop-up to choose from thirteen functions available: Play, Play MSF, Sync, Wait, Stop, Pause, Resume, Eject, Read Contents, Next, Previous, Volume and Pan.^n^nCD: Resume^nContinues a CD segment that was placed on hold by CD: Pause, from the point where the segment was suspended.";
  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(214,450,103,25,Style(Norm))),Highlight(Box(214,450,103,25,Style(High))),Select(Box(214,450,103,25,Style(Sel)),Use(cdunit)));
  23. Button(Normal(Box(322,450,102,25,Style(Norm))),Highlight(Box(322,450,102,25,Style(High))),Select(Box(322,450,102,25,Style(Sel)),Use(newcd)));
  24. 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)));
  25. 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)));
  26. 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)));
  27. 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)));
  28. 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)));
  29. 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(cdresumefadein)));
  30. 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(cdresumewait)));
  31. 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(cdresumevol)));
  32. Wait();
  33. Sequence:
  34. Use(SetUp);
  35. Use(DrawBox);
  36. Button(Wipe("BlindsFantasy3",Speed(7),Direction(90)),Normal(Box(BoxX+BoxW+10,BoxY,115,BoxH,Style(Info))));
  37. Text(BoxX+BoxW+15,BoxY+5,"Sound Screens:",Style(Mid),Justify(Center,Top),Wrap(Off,Auto(340)));
  38. 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)));
  39. 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)));
  40. Text(BoxX+BoxW+17,BoxY+47,"CD",Style(LayoutText));
  41. 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)));
  42. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+75,"CD: Play",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+75,"CD: Play",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+75,"CD: Play",Style(Layout3)),goto(sub3a)));
  43. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+86,"CD: None",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+86,"CD: None",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+86,"CD: None",Style(Layout3)),goto(sub3b)));
  44. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+97,"CD: Play MSF",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+97,"CD: Play MSF",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+97,"CD: Play MSF",Style(Layout3)),goto(sub3c)));
  45. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+108,"CD: Sync",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+108,"CD: Sync",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+108,"CD: Sync",Style(Layout3)),goto(sub3d)));
  46. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+119,"CD: Wait",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+119,"CD: Wait",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+119,"CD: Wait",Style(Layout3)),goto(sub3e)));
  47. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+130,"CD: Stop",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+130,"CD: Stop",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+130,"CD: Stop",Style(Layout3)),goto(sub3f)));
  48. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+141,"CD: Pause",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+141,"CD: Pause",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+141,"CD: Pause",Style(Layout3)),goto(sub3g)));
  49. Text(BoxX+BoxW+17,BoxY+152,"CD: Resume",Style(LayoutText));
  50. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+163,"CD: Eject",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+163,"CD: Eject",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+163,"CD: Eject",Style(Layout3)),goto(sub3i)));
  51. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+174,"CD: Read Contents",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+174,"CD: Read Contents",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+174,"CD: Read Contents",Style(Layout3)),goto(sub3j)));
  52. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+185,"CD: Next",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+185,"CD: Next",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+185,"CD: Next",Style(Layout3)),goto(sub3k)));
  53. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+196,"CD: Previous",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+196,"CD: Previous",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+196,"CD: Previous",Style(Layout3)),goto(sub3l)));
  54. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+207,"CD: Volume",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+207,"CD: Volume",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+207,"CD: Volume",Style(Layout3)),goto(sub3m)));
  55. Button(MatchSize(On),Normal(Text(BoxX+BoxW+17,BoxY+218,"CD: Pan",Style(Layout1))),Highlight(Text(BoxX+BoxW+17,BoxY+218,"CD: Pan",Style(Layout2))),Select(Text(BoxX+BoxW+17,BoxY+218,"CD: Pan",Style(Layout3)),goto(sub3n)));
  56. Resources:
  57. :infobutton
  58. {
  59. title="Information button";
  60. text[1]="Switches Scala into Help mode. ";
  61. descr=text[1];
  62. block=1;
  63. max=1;
  64. Use(SetPos);
  65. }
  66. :cdunit
  67. {
  68. title="CD Unit";
  69. text[1]="If you have more than one CD-ROM drive, or a multi-unit drive, Scala displays an additional button on the CD control panels, CD Unit. You can access different discs in multiple drives by selecting the unit number with this control.";
  70. descr=text[1];
  71. block=1;
  72. max=1;
  73. Use(SetPos);
  74. }
  75. :newcd
  76. {
  77. title="New CD!";
  78. text[1]="Makes Scala read the table of contents of the CD in the drive, so that track numbers and times can be displayed correctly. It should always be used after you change CDs in the drive. All CD control panels have the New CD! button.";
  79. descr=text[1];
  80. block=1;
  81. max=1;
  82. Use(SetPos);
  83. }
  84. :soundtype
  85. {
  86. title="Sound type buttons";
  87. 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.";
  88. descr=text[1];
  89. block=1;
  90. max=1;
  91. Use(SetPos);
  92. }
  93. :panelpopup
  94. {
  95. title="Panel pop-up";
  96. 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.";
  97. descr=text[1];
  98. block=1;
  99. max=1;
  100. Use(SetPos);
  101. }
  102. :preview
  103. {
  104. title="Preview";
  105. text[1]="Lets you test a sound event by viewing the page with the sound event(s) you have added.";
  106. descr=text[1];
  107. block=1;
  108. max=1;
  109. Use(SetPos);
  110. }
  111. :okbutton
  112. {
  113. title="OK";
  114. text[1]="Accepts changes and exits the Sound menu.";
  115. descr=text[1];
  116. block=1;
  117. max=1;
  118. Use(SetPos);
  119. }
  120. :cancelbutton
  121. {
  122. title="Cancel";
  123. text[1]="Returns to the Main or List menu without applying changes.";
  124. descr=text[1];
  125. block=1;
  126. max=1;
  127. Use(SetPos);
  128. }
  129. :cdresumefadein
  130. {
  131. title="Fade In Time";
  132. text[1]="Defines the time in seconds (from 0 to 99) that sound increases from no sound to the level set by the Volume slider. Wait? is available with a Fade-in Time other than zero.";
  133. descr=text[1];
  134. block=1;
  135. max=1;
  136. Use(SetPos);
  137. }
  138. :cdresumewait
  139. {
  140. title="Wait?";
  141. text[1]="Controls the flow of a script. When on, Wait? instructs the script to wait until the CD segment finishes before proceeding. It is on by default.";
  142. descr=text[1];
  143. block=1;
  144. max=1;
  145. Use(SetPos);
  146. }
  147. :cdresumevol
  148. {
  149. title="Volume slider";
  150. text[1]="Adjusts the volume of the CD sound. Default: maximum.";
  151. descr=text[1];
  152. block=1;
  153. max=1;
  154. Use(SetPos);
  155. }
  156. }
  157. Resources:
  158. :sub1a
  159. {
  160. Group:
  161. SubNum="1a";
  162. Quit(1);
  163. }
  164. :sub2a
  165. {
  166. Group:
  167. SubNum="2a";
  168. Quit(1);
  169. }
  170. :sub4a
  171. {
  172. Group:
  173. SubNum="4a";
  174. Quit(1);
  175. }
  176. :sub3a
  177. {
  178. Group:
  179. SubNum="3a";
  180. Quit(1);
  181. }
  182. :sub3b
  183. {
  184. Group:
  185. SubNum="3b";
  186. Quit(1);
  187. }
  188. :sub3c
  189. {
  190. Group:
  191. SubNum="3c";
  192. Quit(1);
  193. }
  194. :sub3d
  195. {
  196. Group:
  197. SubNum="3d";
  198. Quit(1);
  199. }
  200. :sub3e
  201. {
  202. Group:
  203. SubNum="3e";
  204. Quit(1);
  205. }
  206. :sub3f
  207. {
  208. Group:
  209. SubNum="3f";
  210. Quit(1);
  211. }
  212. :sub3g
  213. {
  214. Group:
  215. SubNum="3g";
  216. Quit(1);
  217. }
  218. :sub3i
  219. {
  220. Group:
  221. SubNum="3i";
  222. Quit(1);
  223. }
  224. :sub3j
  225. {
  226. Group:
  227. SubNum="3j";
  228. Quit(1);
  229. }
  230. :sub3k
  231. {
  232. Group:
  233. SubNum="3k";
  234. Quit(1);
  235. }
  236. :sub3l
  237. {
  238. Group:
  239. SubNum="3l";
  240. Quit(1);
  241. }
  242. :sub3m
  243. {
  244. Group:
  245. SubNum="3m";
  246. Quit(1);
  247. }
  248. :sub3n
  249. {
  250. Group:
  251. SubNum="3n";
  252. Quit(1);
  253. }
  254. }
  255.