home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gReturnButton, backButton, forwardButton, selectButtons
- resetBut()
- if getPos([2, 5, 15, 40], the frame) <= 0 then
- updateButton(backButton)
- end if
- if getPos([2, 10, 35, 65], the frame) <= 0 then
- updateButton(forwardButton)
- end if
- updateButton(selectButtons)
- updateButton(gReturnButton)
- go(the frame)
- end
-
- on mouseUp
- global gReturnButton, backButton, forwardButton, selectButtons
- if getPos([2, 5, 15, 40], the frame) <= 0 then
- buttonMouseUp(backButton)
- end if
- if getPos([2, 10, 35, 65], the frame) <= 0 then
- buttonMouseUp(forwardButton)
- end if
- buttonMouseUp(selectButtons)
- buttonMouseUp(gReturnButton)
- end
-