home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global framecount, languagechosen, NumberofButtons
- setup()
- puppetSprite(4, 1)
- puppetSprite(2, 1)
- settitle(0)
- set the member of sprite 4 to member "CCWDBrand" of castLib languagechosen
- set the ink of sprite 4 to 36
- set the locH of sprite 4 to 312
- set the locV of sprite 4 to 230
- set NumberofButtons to the text of member "CCWDNumber" of castLib languagechosen
- repeat with i = 1 to 10
- if i <= NumberofButtons then
- set the visible of sprite ((i * 3) + 4) to 1
- puppetSprite((i * 3) + 6, 1)
- set the member of sprite ((i * 3) + 6) to member ("CCWDSection" & i) of castLib languagechosen
- set the ink of sprite ((i * 3) + 6) to 36
- next repeat
- end if
- set the visible of sprite ((i * 3) + 4) to 0
- puppetSprite((i * 3) + 6, 0)
- end repeat
- set the locH of sprite 9 to 518
- set the locV of sprite 9 to 296
- set the locH of sprite 12 to 515
- set the locV of sprite 12 to 400
- set the locH of sprite 15 to 407
- set the locV of sprite 15 to 326
- set the locH of sprite 18 to 111
- set the locV of sprite 18 to 315
- set the locH of sprite 21 to 233
- set the locV of sprite 21 to 348
- set the locH of sprite 24 to 1
- set the locV of sprite 24 to 381
- set the locH of sprite 27 to 15
- set the locV of sprite 27 to 105
- set the locH of sprite 30 to 522
- set the locV of sprite 30 to 156
- set the locH of sprite 33 to 518
- set the locV of sprite 33 to 16
- set the visible of sprite 5 to 0
- set the visible of sprite 6 to 0
- set the visible of sprite 8 to 0
- set the visible of sprite 11 to 0
- set the visible of sprite 14 to 0
- set the visible of sprite 17 to 0
- set the visible of sprite 20 to 0
- set the visible of sprite 23 to 0
- set the visible of sprite 26 to 0
- set the visible of sprite 29 to 0
- set the visible of sprite 32 to 0
- set the visible of sprite 35 to 0
- set framecount to 0
- sound stop 1
- sound stop 2
- end
-