home *** CD-ROM | disk | FTP | other *** search
- property Active, sp, menuObject
- global currentThumbStart, mainMenuEnabled
-
- on beginSprite me
- sp = sprite(me.spriteNum)
- menuObject = 0
- end
-
- on mouseUp me
- if mainMenuEnabled = 1 then
- put menuObject.itemPath
- if (menuObject <> 0) and (menuObject.itemPath <> EMPTY) then
- currentThumbStart = 0
- loadSectionPage(me.menuObject)
- end if
- end if
- end
-
- on mouseEnter me
- if mainMenuEnabled = 1 then
- if Active = 1 then
- cursor(280)
- sp.color = rgb(255, 255, 255)
- end if
- end if
- end
-
- on mouseLeave me
- if mainMenuEnabled = 1 then
- if Active = 1 then
- cursor(-1)
- sp.color = rgb(0, 0, 0)
- end if
- end if
- end
-