home *** CD-ROM | disk | FTP | other *** search
- global myRO, lastRO
-
- on idle
- if not (the mouseDown) then
- repeat with i = 40 to 47
- set the visible of sprite i to 0
- end repeat
- end if
- if rollOver() < 10 then
- set the visible of sprite (lastRO + 20) to 0
- set lastRO to 0
- set myRO to 0
- end if
- repeat with i = 10 to 18
- if rollOver(i) then
- set myRO to i
- end if
- end repeat
- if myRO = lastRO then
- nothing()
- else
- set the visible of sprite (lastRO + 20) to 0
- set the visible of sprite (myRO + 20) to 1
- set lastRO to myRO
- end if
- end
-
- on exitFrame
- go(the frame)
- end
-
- on mouseDown
- if (myRO > 9) and (myRO < 18) then
- set the visible of sprite (myRO + 20) to 0
- set the visible of sprite (myRO + 30) to 1
- end if
- updateStage()
- end
-