home *** CD-ROM | disk | FTP | other *** search
- on popupcode
- global gFromFrame, gOldLine, gLowlightColor, languagechosen
- cursor(4)
- set the member of sprite 47 to member "CCDDBanner" of castLib languagechosen
- set the ink of sprite 47 to 36
- set the locH of sprite 47 to 6
- set the locV of sprite 47 to 456
- set the blend of sprite 44 to 25
- set the visible of sprite 48 to 0
- updateStage()
- set the visible of sprite 40 to 0
- ContentsStop()
- end
-
- on setsection sectionno
- global sectionnumber
- cursor(4)
- set sectionnumber to sectionno
- go("tiledown" & sectionno)
- set the blend of sprite 41 to 25
- set the blend of sprite 42 to 25
- set the blend of sprite 43 to 25
- repeat with i = 21 to 31
- set the visible of sprite i to 1
- end repeat
- end
-
- on myNoEscape
- if the keyCode = 53 then
- dontPassEvent()
- updateStage()
- go("quitting")
- end if
- end
-
- on startMovie
- global gFromFrame, gHighlightColor, gLowlightColor, gOldLine, currentSection, languagechosen, colorcount
- set the exitLock to 1
- set the keyDownScript to "myNoEscape"
- set the name of castLib "English" to languagechosen
- set the fileName of castLib languagechosen to the pathName & languagechosen & ".cst"
- set gHighlightColor to 21
- set gLowlightColor to 3
- set currentSection to 3
- set the visible of sprite 40 to 0
- set the visible of sprite 48 to 0
- end
-
- on setup
- global gFromFrame, gHighlightColor, gLowlightColor, gOldLine, currentSection, languagechosen, colorcount
- puppetSprite(41, 1)
- puppetSprite(42, 1)
- puppetSprite(43, 1)
- puppetSprite(44, 1)
- puppetSprite(45, 1)
- puppetSprite(46, 1)
- puppetSprite(48, 1)
- set the member of sprite 44 to member "popupPrevious" of castLib languagechosen
- set the ink of sprite 44 to 36
- set the locH of sprite 44 to 159
- set the locV of sprite 44 to 412
- set the member of sprite 45 to member "popupcontents" of castLib languagechosen
- set the ink of sprite 45 to 36
- set the locH of sprite 45 to 270
- set the locV of sprite 45 to 412
- set the member of sprite 46 to member "popupcover" of castLib languagechosen
- set the ink of sprite 46 to 36
- set the locH of sprite 46 to 382
- set the locV of sprite 46 to 412
- set the member of sprite 48 to member "popuptext" of castLib languagechosen
- set the ink of sprite 48 to 36
- set the locH of sprite 48 to 180
- set the locV of sprite 48 to 39
- puppetSprite(47, 1)
- set the member of sprite 47 to member "CCDDBanner" of castLib languagechosen
- set the ink of sprite 47 to 36
- set the locH of sprite 47 to 6
- set the locV of sprite 47 to 456
- if languagechosen = "greek" then
- set fontused to "arial greek"
- else
- set fontused to "arial"
- end if
- set the textFont of member "CCDDAdvice" to fontused
- end
-
- on stopMovie
- global gLastMovie, gLastFrame
- set gLastMovie to the movieName
- set gLastFrame to the frame
- puppetSprite(41, 0)
- puppetSprite(42, 0)
- puppetSprite(43, 0)
- puppetSprite(44, 0)
- puppetSprite(45, 0)
- puppetSprite(46, 0)
- puppetSprite(48, 0)
- sound stop 1
- sound stop 2
- end
-
- on ContentsStart
- end
-
- on ContentsStop
- cursor(0)
- end
-