home *** CD-ROM | disk | FTP | other *** search
- global tabx, tabname, index, blanklist1, blanklist2, linecount1, linecount2, firstLetter, secondLetter, checkprev, ready
-
- on mouseUp
- if (the rollOver < 2) or (the rollOver > 15) then
- exit
- end if
- set the member of sprite 20 to "blankPic"
- set checkprev to index
- set tabx to the rollOver
- set tabname to the name of the member of sprite tabx
- set index to tabname
- delete char 1 of index
- set tablist to ["cover", "AB", "CD", "EF", "GH", "IJ", "KL", "MN", "OP", "QR", "ST", "UV", "WX", "YZ"]
- if char 1 of tabname = "r" then
- repeat with n = tabx to 14
- set the locH of sprite n to 11
- set tabname to the name of the member of sprite n
- delete char 1 of tabname
- put "l" before tabname
- set the member of sprite n to member tabname
- end repeat
- if index = checkprev then
- exit
- end if
- else
- set currentPos to getPos(tablist, index)
- set index to getAt(tablist, currentPos)
- repeat with n = tabx down to 2
- set the locH of sprite n to 627
- set tabname to the name of the member of sprite n
- delete char 1 of tabname
- put "r" before tabname
- set the member of sprite n to member tabname
- end repeat
- if index = checkprev then
- exit
- end if
- end if
- if index <> "cover" then
- go(5)
- set firstLetter to char 1 of index
- set secondLetter to char 2 of index
- set the member of sprite 16 to the number of member ("ind" & firstLetter)
- set the member of sprite 17 to the number of member ("ind" & secondLetter)
- puppetSprite(16, 1)
- puppetSprite(17, 1)
- puppetSprite(18, 1)
- puppetSprite(19, 1)
- set linecount1 to 0
- set linecount2 to 0
- set the visible of sprite 18 to 0
- set the visible of sprite 19 to 0
- set the scrollTop of member "blanklist1" to 1
- set the scrollTop of member "blanklist2" to 1
- put the text of member ("list" & firstLetter) into field "blankList1"
- put the text of member ("list" & secondLetter) into field "blankList2"
- set the visible of sprite 16 to 1
- set the visible of sprite 17 to 1
- set the visible of sprite 18 to 1
- set the visible of sprite 19 to 1
- end if
- end
-