home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gIndex
- set flag to 0
- repeat with i = 3 to 24
- if rollOver(i) then
- set flag to 1
- if gIndex <> i then
- set the visible of sprite gIndex to 0
- set gIndex to i
- set the visible of sprite gIndex to 1
- end if
- exit repeat
- end if
- end repeat
- if not flag then
- set the visible of sprite gIndex to 0
- end if
- if rollOver(26) then
- set the visible of sprite 27 to 1
- else
- set the visible of sprite 27 to 0
- end if
- updateStage()
- go(the frame)
- end
-