home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global castData, notePages, currPage
- moveWindow("6", marker(0))
- if (the right of sprite 6 - the mouseH) < 10 then
- if (the bottom of sprite 6 - the mouseH) < 10 then
- if currPage < notePages then
- set the castNum of sprite 6 to value(item 1 of castData) + 1
- set currPage to currPage + 1
- end if
- end if
- end if
- if (the right of sprite 6 - the mouseH) < 20 then
- if (the bottom of sprite 6 - the mouseH) < 20 then
- if currPage > 1 then
- set the castNum of sprite 6 to value(item 1 of castData) - 1
- set currPage to currPage - 1
- end if
- end if
- end if
- end
-