home *** CD-ROM | disk | FTP | other *** search
- on myNoEscape
- if the keyCode = 53 then
- dontPassEvent()
- updateStage()
- go("quitting")
- end if
- end
-
- on startMovie
- global gFromFrame, gHighlightColor, gLowlightColor, gOldLine, currentSection, languagechosen, colorcount, movieName, movieList, clickonCountry
- set the exitLock to 1
- set the keyDownScript to "myNoEscape"
- set movieList to [2336, 26548, 1760, 1792, 3584, 2716, 2708, 3632, 3600, 4492]
- set movieName to "notrunning"
- set the visible of sprite 2 to 0
- sound stop 1
- sound stop 2
- set the name of castLib "English" to languagechosen
- set the fileName of castLib languagechosen to the pathName & languagechosen & ".cst"
- set clickonCountry to 0
- set the visible of sprite 23 to 0
- set currentSection to 13
- set the visible of sprite 40 to 0
- set the visible of sprite 48 to 0
- set the visible of sprite 4 to 0
- set the visible of sprite 5 to 0
- set the visible of sprite 6 to 0
- set the visible of sprite 7 to 0
- set the visible of sprite 9 to 0
- set the foreColor of member "tvFrance" to 16
- set the foreColor of member "tvUK" to 16
- set the foreColor of member "tvCanada" to 16
- set the foreColor of member "tvChina" to 16
- set the foreColor of member "tvYemen" to 16
- set the foreColor of member "tvEcuador" to 16
- set the foreColor of member "tvGulf" to 16
- set the foreColor of member "tvSriLanka" to 16
- set the foreColor of member "tvIndia" to 16
- set the foreColor of member "tvPoland" to 16
- startnonmovie()
- end
-
- on setup
- global gFromFrame, gHighlightColor, gLowlightColor, gOldLine, currentSection, languagechosen, colorcount
- puppetSprite(47, 1)
- 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 "TVmainbanner" 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 "tvfrance" to fontused
- set the textFont of member "tvuk" to fontused
- set the textFont of member "tvcanada" to fontused
- set the textFont of member "tvchina" to fontused
- set the textFont of member "tvyemen" to fontused
- set the textFont of member "tvecuador" to fontused
- set the textFont of member "tvgulf" to fontused
- set the textFont of member "tvsrilanka" to fontused
- set the textFont of member "tvindia" to fontused
- set the textFont of member "tvpoland" to fontused
- end
-
- on stopMovie
- global gLastMovie, gLastFrame
- puppetSprite(23, 0)
- set gLastMovie to the movieName
- set gLastFrame to the frame
- puppetSprite(2, 0)
- puppetSprite(41, 0)
- puppetSprite(42, 0)
- puppetSprite(43, 0)
- puppetSprite(44, 0)
- puppetSprite(45, 0)
- puppetSprite(46, 0)
- puppetSprite(48, 0)
- puppetSprite(12, 0)
- puppetSprite(13, 0)
- puppetSprite(14, 0)
- stopnonmovie()
- end
-
- on ContentsStart
- if the castLibNum of sprite 37 = 1 then
- set the volume of sprite 37 to 157
- set the movieRate of sprite 37 to 0
- set the visible of sprite 37 to 0
- updateStage()
- end if
- end
-
- on ContentsStop
- if the castLibNum of sprite 37 = 1 then
- set the volume of sprite 37 to 157
- set the visible of sprite 37 to 1
- updateStage()
- set the movieRate of sprite 37 to 1
- end if
- end
-