home *** CD-ROM | disk | FTP | other *** search
- on popupcode
- global gFromFrame, gOldLine, gLowlightColor, languagechosen
- cursor(4)
- set the member of sprite 47 to member "CCHFSBanner" 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
- updateStage()
- set the blend of sprite 44 to 25
- set the visible of sprite 48 to 0
- set the visible of sprite 40 to 0
- updateStage()
- ContentsStop()
- end
-
- on evaluate
- global gHighlightColor, gLowlightColor, gOldLine, languagechosen, framecount
- if the visible of sprite 48 = 1 then
- if framecount <> 0 then
- set framecount to framecount - 1
- end if
- if rollOver(48) then
- set tempmouseline to the mouseLine
- if tempmouseline <> 20 then
- set the locV of sprite 47 to 23 + (tempmouseline * 17)
- end if
- end if
- else
- repeat with i = 12 to 16
- if rollOver(i + 22) then
- set the visible of sprite i to 1
- next repeat
- end if
- set the visible of sprite i to 0
- end repeat
- cursor(0)
- if rollOver(44) then
- set the blend of sprite 41 to 75
- else
- set the blend of sprite 41 to 25
- end if
- if rollOver(45) then
- set the blend of sprite 42 to 75
- else
- set the blend of sprite 42 to 25
- end if
- if rollOver(46) then
- set the blend of sprite 43 to 75
- else
- set the blend of sprite 43 to 25
- end if
- end if
- 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 currentSection to 11
- puppetSprite(29, 1)
- puppetSprite(30, 1)
- 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
- set the member of sprite 47 to member "CCHFSBanner" 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
- puppetSprite(47, 1)
- set the visible of sprite 12 to 0
- set the visible of sprite 13 to 0
- set the visible of sprite 14 to 0
- set the visible of sprite 15 to 0
- set the visible of sprite 16 to 0
- if languagechosen = "greek" then
- set fontused to "arial greek"
- else
- set fontused to "arial"
- end if
- set the textFont of member "section1" to fontused
- set the textFont of member "section2" to fontused
- set the textFont of member "section3" to fontused
- set the textFont of member "section4" to fontused
- set the textFont of member "section5" to fontused
- set the textFont of member "CCHFSSKTText1" to fontused
- set the textFont of member "CCHFSDText1" to fontused
- set the textFont of member "CCHFSWText1" to fontused
- set the textFont of member "CCHFSWText2" to fontused
- set the textFont of member "CCHFSSText1" to fontused
- set the textFont of member "CCHFSSText2" to fontused
- set the textFont of member "CCHFSSText3" to fontused
- set the textFont of member "CCHFSSText4" to fontused
- set the textFont of member "CCHFSTText1" to fontused
- set the textFont of member "CCHFSTText2" to fontused
- set the textFont of member "CCHFSTText3" 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
- set the visible of sprite 2 to 0
- updateStage()
- end
-
- on ContentsStop
- if the frame = 3 then
- set the visible of sprite 2 to 1
- end if
- cursor(0)
- end
-