home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / multimedia / scala / HELP / WIPE2.SCA < prev   
Encoding:
Text File  |  1996-05-14  |  4.4 KB  |  129 lines

  1. !ScalaScript
  2. {
  3. Sequence:
  4. :"SubScript"
  5. {
  6. Group:
  7. BoxX.1=139;
  8. BoxY.1=60;
  9. BoxX.2=0;
  10. BoxY.2=0;
  11. BoxX=BoxX.1;
  12. BoxY=BoxY.1;
  13. BoxW=360;
  14. BoxH=200;
  15. Descr="Click a button to get information about it!";
  16. Display(Size(640,480),Face(RGB(170)),UserPalette(RGBPen(1,0,16777215,12632256,5592405,8553090,11184810,10066329)));
  17. Clip(0,300,"scala:\help\graphics\wipe2.gif",transparent(off));
  18. Clip(20,20,"scala:\help\graphics\clip-gfx.gif");
  19. pagename="Element Wipe menu";
  20. pagedescr="Lets you set the wipe and/or speed for an element.  Elements can have both and In wipe and an Out wipe";
  21. descr="Click a button to get information about it!";
  22. title="";
  23. Button(Normal(Box(0,300,639,25,Style(Norm))),Highlight(Box(0,300,639,25,Style(High))),Select(Box(0,300,639,25,Style(Sel)),Use(titlebar)));
  24. Button(Normal(Box(620,300,19,25,Style(Norm))),Highlight(Box(620,300,19,25,Style(High))),Select(Box(620,300,19,25,Style(Sel)),Use(infobutton)));
  25. Button(Normal(Box(4,330,132,146,Style(Norm))),Highlight(Box(4,330,132,146,Style(High))),Select(Box(4,330,132,146,Style(Sel)),Use(categorybuttons)));
  26. Button(Normal(Box(166,330,284,136,Style(Norm))),Highlight(Box(166,330,284,136,Style(High))),Select(Box(166,330,284,136,Style(Sel)),Use(wipeicons)));
  27. Button(Normal(Box(480,390,155,25,Style(Norm))),Highlight(Box(480,390,155,25,Style(High))),Select(Box(480,390,155,25,Style(Sel)),Use(speed)));
  28. Button(Normal(Box(480,330,155,25,Style(Norm))),Highlight(Box(480,330,155,25,Style(High))),Select(Box(480,330,155,25,Style(Sel)),Use(preview)));
  29. Button(Normal(Box(480,420,155,25,Style(Norm))),Highlight(Box(480,420,155,25,Style(High))),Select(Box(480,420,155,25,Style(Sel)),Use(okbutton)));
  30. Button(Normal(Box(480,450,155,25,Style(Norm))),Highlight(Box(480,450,155,25,Style(High))),Select(Box(480,450,155,25,Style(Sel)),Use(cancelbutton)));
  31. Wait();
  32. Sequence:
  33. Use(SetUp);
  34. Use(DrawBox);
  35. Button(Wipe("BlindsFantasy3",Speed(7),Direction(90)),Normal(Box(BoxX+BoxW+10,BoxY,115,(BoxH/2),Style(Info))));
  36. Text(BoxX+BoxW+22,BoxY+10,"This screen ^nhas 2 layouts",Style(Mid),Wrap(Off,Auto(340)));
  37. Button(MatchSize(On),Normal(Text(BoxX+BoxW+30,BoxY+45,"Page Wipe",Style(Layout1))),Highlight(Text(BoxX+BoxW+30,BoxY+45,"Page Wipe",Style(Layout2))),Select(Text(BoxX+BoxW+30,BoxY+45,"Page Wipe",Style(Layout3)),goto(sub1)));
  38. Text(BoxX+BoxW+30,BoxY+60,"Element Wipe",Style(LayoutText));
  39. Resources:
  40. :titlebar
  41. {
  42. title="Element Wipe menu title bar";
  43. text[1]="Displays the name and direction, if any, of the current element's wipe. If you have not explicitly given an element a wipe, it has the None wipe.";
  44. descr=text[1];
  45. block=1;
  46. max=1;
  47. Use(SetPos);
  48. }
  49. :infobutton
  50. {
  51. title="Information button";
  52. text[1]="Switches Scala into Help mode. ";
  53. descr=text[1];
  54. block=1;
  55. max=1;
  56. Use(SetPos);
  57. }
  58. :categorybuttons
  59. {
  60. title="Category buttons";
  61. text[1]="Displays icons for all the wipes in a particular category.^n^nSpecial contains the Cut, Next, RandomOnce and Random Always wipes.^n^nAlpha wipes use an image's luminance to control the wipe.";
  62. text[2]="Pushes are wipes which move or scale areas of the element to reveal an underlying page.^n^nReveals erase or draw in portions of images without scaling or pushing.";
  63. text[3]="Zooms consist of scales, tumbles and fly-ons that shrink or grow portions of the element in real time.^n^nFly-ons contains a large choice of ways to move clips and text onto the screen from almost any direction.";
  64. descr=text[1];
  65. block=1;
  66. max=3;
  67. Use(SetPos);
  68. }
  69. :wipeicons
  70. {
  71. title="Wipe icon buttons";
  72. text[1]="Apply a wipe to the selected element. Click on the wipe icon for the wipe you want to apply. The name appears in the Wipe menu title bar, and the In or Out wipe button immediately reflects the icon and transition speed. Use the numeric keypad keys or the arrow keys to set the wipe direction.";
  73. descr=text[1];
  74. block=1;
  75. max=1;
  76. Use(SetPos);
  77. }
  78. :speed
  79. {
  80. title="Speed";
  81. text[1]="Controls how fast the wipe moves. For most wipes, you can specify a speed between 1 (slow) and 10 or more (fast).";
  82. descr=text[1];
  83. block=1;
  84. max=1;
  85. Use(SetPos);
  86. }
  87. :preview
  88. {
  89. title="Preview";
  90. text[1]="Lets you view the page with element In and Out wipes you have selected.";
  91. descr=text[1];
  92. block=1;
  93. max=1;
  94. Use(SetPos);
  95. }
  96. :okbutton
  97. {
  98. title="OK";
  99. text[1]="Accepts changes to the current element and returns to the previous menu.";
  100. descr=text[1];
  101. block=1;
  102. max=1;
  103. Use(SetPos);
  104. }
  105. :cancelbutton
  106. {
  107. title="Cancel";
  108. text[1]="Returns to the previous menu without making any change to the current element.";
  109. descr=text[1];
  110. block=1;
  111. max=1;
  112. Use(SetPos);
  113. }
  114. }
  115. Resources:
  116. :sub1
  117. {
  118. Group:
  119. SubNum="1";
  120. Quit(1);
  121. }
  122. :sub2
  123. {
  124. Group:
  125. SubNum="2";
  126. Quit(1);
  127. }
  128. }
  129.