home *** CD-ROM | disk | FTP | other *** search
- on checkMainRollover
- global gLastRolledOn, gLastRolledCast
- repeat with i = 1 to 8
- if rollOver(i + 21) = 1 then
- if gLastRolledOn = i then
- exit
- end if
- if gLastRolledOn <> 0 then
- set the castNum of sprite 32 to the number of cast "Null2"
- end if
- set lCastName to "LabelHL" & string(i)
- set the castNum of sprite 32 to the number of cast lCastName
- set gLastRolledOn to i
- set gLastRolledCast to "Label" & string(i)
- exit
- end if
- end repeat
- if gLastRolledOn = 0 then
- exit
- end if
- set the castNum of sprite 32 to the number of cast "Null2"
- set gLastRolledOn to 0
- end
-