home *** CD-ROM | disk | FTP | other *** search
- global mycity
-
- on idle
- set mycity to rollOver()
- end
-
- on exitFrame
- if not ("Nord;2,Sued;-2,Ruhr" contains the frameLabel) then
- if rollOver(27) then
- set the visible of sprite 32 to 1
- end if
- if (mycity > 33) and (mycity < 46) then
- hibutton()
- else
- unhibutton()
- end if
- if the frameLabel = "Karte" then
- repeat with i = 10 to 20
- set the visible of sprite i to 1
- end repeat
- end if
- go(the frame)
- if (mycity = 47) and (the frameLabel = "KARTE") then
- go("Sued;-2")
- end if
- if (mycity = 47) and (the frameLabel = "FRAGEN") then
- go(the frame + 1)
- end if
- exit
- end if
- set NordSued to the text of member item 1 of the frameLabel
- set Eintrag to mycity - 4
- set x to line Eintrag of NordSued
- if mycity = 2 then
- ClearAnzeige(x)
- end if
- if the frameLabel contains ";" then
- repeat with i = 28 to 33
- set the visible of sprite i to 1
- end repeat
- set the visible of sprite 40 to 1
- case 1 of
- (mycity = 48):
- puppetSprite(46, 0)
- set the visible of sprite 40 to 0
- go("Karte")
- exit
- (mycity = 47):
- go(the frame + value(item 2 of the frameLabel))
- set NordSued to the text of member item 1 of the frameLabel
- puppetSprite(46, 0)
- ((mycity > 4) and (mycity < 40)):
- puppetSprite(46, 1)
- set the locH of sprite 46 to the mouseH + 10
- set the locV of sprite 46 to the mouseV + 6
- set Eintrag to mycity - 4
- if not (the text of field "Ort" = item 1 of x) then
- set the text of field "Ort" to item 1 of x
- doAnzeige(x)
- end if
- updateStage()
- otherwise:
- puppetSprite(46, 0)
- end case
- else
- if mycity = 5 then
- ClearAnzeige(x)
- end if
- if mycity = 6 then
- ClearAnzeige(x)
- end if
- set the visible of sprite 28 to 1
- case 1 of
- ((mycity > 6) and (mycity < 26)):
- puppetSprite(46, 1)
- set the locH of sprite 46 to the mouseH + 10
- set the locV of sprite 46 to the mouseV + 6
- set Eintrag to mycity - 6
- if not (the text of field "Ort" = item 1 of x) then
- set the text of field "Ort" to item 1 of x
- doAnzeige(x)
- end if
- updateStage()
- otherwise:
- puppetSprite(46, 0)
- end case
- if (mycity > 33) and (mycity < 46) then
- hibutton()
- else
- unhibutton()
- end if
- end if
- go(the frame)
- end
-
- on mouseUp
- global mysprite
- puppetSprite(4, 0)
- if mysprite > 39 then
- puppetSprite(mysprite, 0)
- go(label(the name of member the memberNum of sprite mysprite) - 1)
- end if
- set mysprite to 0
- end
-