home *** CD-ROM | disk | FTP | other *** search
- on REFGoToSection
- global REFMasterList, REFBackImage, REFDrumOn, REFA2ZActive, REFActiveSection, REFSquarePosition, REFLastActive
- repeat with g = 22 to 26
- if rollOver(g) then
- repeat while rollOver(g)
- if the mouseDown then
- if (REFActiveSection = (g - 21)) and ((REFActiveSection <> 3) and (REFActiveSection <> 5)) then
- exit
- else
- set REFLastActive to REFActiveSection
- set REFActiveSection to g - 21
- REFGoToSelection(REFActiveSection)
- end if
- end if
- REFFlash(g)
- end repeat
- end if
- end repeat
- if REFActiveSection = 1 then
- REFA2ZUpdateSection()
- end if
- if REFActiveSection = 2 then
- REFAboutUpdateSection()
- end if
- if REFActiveSection = 4 then
- REFAdIdxUpdateSection()
- end if
- end
-
- on REFFlash g
- set the locV of sprite 4 to getAt(getAt(REFSquarePosition, g - 21), 1)
- set the locH of sprite 4 to getAt(getAt(REFSquarePosition, g - 21), 2)
- repeat with h = 71 to 73
- set the castNum of sprite 4 to h
- updateStage()
- wait(0.05)
- end repeat
- set the castNum of sprite 4 to 11
- set the locH of sprite 4 to 2000
- end
-