home *** CD-ROM | disk | FTP | other *** search
- on moveIndicator mLine
- global whLett
- set unitHeight to 22
- set theLett to char 1 of word 1 of line mLine of field "list1"
- set whLett to charToNum(theLett) - 64
- set the width of sprite 8 to the width of sprite 12
- set the height of sprite 8 to unitHeight - 2
- if whLett <= 13 then
- set the locH of sprite 8 to the locH of sprite 12
- set the locV of sprite 8 to the locV of sprite 12 + (unitHeight * (whLett - 1))
- else
- set the locH of sprite 8 to the locH of sprite 13
- set the locV of sprite 8 to the locV of sprite 13 + (unitHeight * (whLett - 14))
- end if
- updateStage()
- end
-
- on moveIndicator2
- global whLett
- set unitHeight to 22
- set the width of sprite 8 to the width of sprite 12
- set the height of sprite 8 to unitHeight - 2
- if whLett <= 13 then
- set the locH of sprite 8 to the locH of sprite 12
- set the locV of sprite 8 to the locV of sprite 12 + (unitHeight * (whLett - 1))
- else
- set the locH of sprite 8 to the locH of sprite 13
- set the locV of sprite 8 to the locV of sprite 13 + (unitHeight * (whLett - 14))
- end if
- updateStage()
- end
-