home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global languagechosen, movieplaying, countryName, sequenceNumber, updownneeded
- set countryName to "kenya"
- puppetSound(1, countryName)
- puppetSprite(37, 1)
- puppetSprite(38, 1)
- set the visible of sprite 35 to 0
- set YVar to "sswa" & countryName & "text"
- set the member of sprite 34 to member YVar of castLib languagechosen
- set the text of member "sswalantextbox" to the text of member "sswalantextboxkenya" of castLib languagechosen
- if languagechosen = "Greek" then
- set the textFont of field "sswalantextbox" to "arial greek"
- set the visible of sprite 37 to 1
- set the visible of sprite 38 to 1
- else
- if the number of lines in field "sswalantextbox" > 5 then
- set updownneeded to 1
- set the visible of sprite 37 to 0
- set the visible of sprite 38 to 0
- else
- set updownneeded to 0
- set the visible of sprite 37 to 0
- set the visible of sprite 38 to 1
- end if
- end if
- set the member of sprite 33 to member "sswapopkenya" of castLib languagechosen
- set the visible of sprite 33 to 1
- set the visible of sprite 34 to 1
- set the locH of sprite 35 to 210
- set the locV of sprite 35 to 309
- set the visible of sprite 35 to 1
- set the ink of sprite 28 to 8
- set the ink of sprite 29 to 8
- set the ink of sprite 30 to 8
- end
-
- on enterFrame
- global positionofFrame, positionTable
- set tempglobe to "globe" & positionofFrame
- set the member of sprite 3 to member tempglobe
- set the visible of sprite 37 to 0
- set the visible of sprite 38 to 0
- set the locV of sprite 37 to 397
- set the locV of sprite 38 to 397
- set the locH of sprite 37 to 386
- set the locH of sprite 38 to 357
- set the visible of sprite 37 to 1
- set the visible of sprite 38 to 1
- set pos to 1
- repeat with counter = 13 to 21
- puppetSprite(counter, 1)
- set templocV to getAt(positionTable, pos)
- set the locV of sprite counter to templocV
- set the locH of sprite counter to getAt(positionTable, pos + 1)
- set pos to pos + 2
- end repeat
- end
-