home *** CD-ROM | disk | FTP | other *** search
/ SKIP - The Laundry Guide / LEVER_CD.iso / lever / ccwd.dir / 00015.ls < prev    next >
Encoding:
Text File  |  1997-02-21  |  1.9 KB  |  57 lines

  1. on exitFrame
  2.   global framecount, languagechosen, NumberofButtons
  3.   setup()
  4.   puppetSprite(4, 1)
  5.   puppetSprite(2, 1)
  6.   settitle(0)
  7.   set the member of sprite 4 to member "CCWDBrand" of castLib languagechosen
  8.   set the ink of sprite 4 to 36
  9.   set the locH of sprite 4 to 312
  10.   set the locV of sprite 4 to 230
  11.   set NumberofButtons to the text of member "CCWDNumber" of castLib languagechosen
  12.   repeat with i = 1 to 10
  13.     if i <= NumberofButtons then
  14.       set the visible of sprite ((i * 3) + 4) to 1
  15.       puppetSprite((i * 3) + 6, 1)
  16.       set the member of sprite ((i * 3) + 6) to member ("CCWDSection" & i) of castLib languagechosen
  17.       set the ink of sprite ((i * 3) + 6) to 36
  18.       next repeat
  19.     end if
  20.     set the visible of sprite ((i * 3) + 4) to 0
  21.     puppetSprite((i * 3) + 6, 0)
  22.   end repeat
  23.   set the locH of sprite 9 to 518
  24.   set the locV of sprite 9 to 296
  25.   set the locH of sprite 12 to 515
  26.   set the locV of sprite 12 to 400
  27.   set the locH of sprite 15 to 407
  28.   set the locV of sprite 15 to 326
  29.   set the locH of sprite 18 to 111
  30.   set the locV of sprite 18 to 315
  31.   set the locH of sprite 21 to 233
  32.   set the locV of sprite 21 to 348
  33.   set the locH of sprite 24 to 1
  34.   set the locV of sprite 24 to 381
  35.   set the locH of sprite 27 to 15
  36.   set the locV of sprite 27 to 105
  37.   set the locH of sprite 30 to 522
  38.   set the locV of sprite 30 to 156
  39.   set the locH of sprite 33 to 518
  40.   set the locV of sprite 33 to 16
  41.   set the visible of sprite 5 to 0
  42.   set the visible of sprite 6 to 0
  43.   set the visible of sprite 8 to 0
  44.   set the visible of sprite 11 to 0
  45.   set the visible of sprite 14 to 0
  46.   set the visible of sprite 17 to 0
  47.   set the visible of sprite 20 to 0
  48.   set the visible of sprite 23 to 0
  49.   set the visible of sprite 26 to 0
  50.   set the visible of sprite 29 to 0
  51.   set the visible of sprite 32 to 0
  52.   set the visible of sprite 35 to 0
  53.   set framecount to 0
  54.   sound stop 1
  55.   sound stop 2
  56. end
  57.