home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global audiocount, lastfound
- if audiocount = 0 then
- playsound(1)
- cursor(0)
- end if
- set audiocount to audiocount - 1
- set found to 0
- repeat with i = 2 to 8
- if rollOver(9 + i) then
- set found to i
- end if
- end repeat
- if found = 0 then
- set the visible of sprite lastfound to 0
- setbanner("none")
- set lastfound to 0
- else
- if lastfound <> found then
- set the visible of sprite lastfound to 0
- set the visible of sprite found to 1
- setbanner(found)
- set lastfound to found
- end if
- end if
- if rollOver(29) then
- set the visible of sprite 29 to 1
- else
- set the visible of sprite 29 to 0
- end if
- go(the frame)
- end
-