home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global textFiles, textNumber, textCast, currentLine, slideRatio, top, linesInText, movieLocation
- set the castNum of sprite 34 to 121
- set currentLine to 9
- updateStage()
- set textNumber to textNumber - 1
- if textNumber = 0 then
- set textNumber to the number of lines in textFiles - 1
- end if
- put textNumber into word 4 of movieLocation
- set textCast to the number of cast item 1 of line textNumber of textFiles
- set the castNum of sprite 15 to textCast
- set linesInText to float(the number of lines in field textCast)
- set slideRatio to the height of sprite 37 / (linesInText - 43)
- set linesInText to linesInText - 34
- set the text of field "tcounter" to textNumber && "of" && the number of lines in textFiles - 1
- put EMPTY after line currentLine of field textCast
- set the locV of sprite 38 to top + ((currentLine - 9) * slideRatio)
- set the text of field "articleTitle" to item 2 to 3 of line textNumber of textFiles
- updateStage()
- end
-