home *** CD-ROM | disk | FTP | other *** search
- on help2
- global gLastHelp, gHelpLinks, gHelpActive, gHelpSprite
- if gHelpActive then
- set num to count(gHelpLinks)
- set roll to 0
- repeat with i = 1 to num
- set channel to getPropAt(gHelpLinks, i)
- if rollOver(channel) then
- set roll to getProp(gHelpLinks, channel)
- exit repeat
- end if
- end repeat
- helpPosition()
- put roll
- if (roll = 19) and (the mouseV < 386) then
- set roll to 23
- else
- if (roll = 19) and (the mouseV < 432) then
- set roll to 1
- end if
- end if
- if (roll = 107) and (the mouseV > 450) then
- if the mouseH < 150 then
- set roll to 126
- else
- set roll to 127
- end if
- end if
- if roll <> gLastHelp then
- if roll > 0 then
- set text to field ("help" & roll)
- put text into field "help"
- helpPosition()
- set the visible of sprite gHelpSprite to 1
- else
- set the visible of sprite gHelpSprite to 0
- end if
- set gLastHelp to roll
- end if
- end if
- end
-