home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global photoNumber, photoFiles, increment, left, movieLocation
- set the castNum of sprite 18 to 124
- updateStage()
- set photoNumber to photoNumber + 1
- if photoNumber = the number of lines in photoFiles then
- set photoNumber to 1
- end if
- put photoNumber into word 4 of movieLocation
- set the locH of sprite 26 to left + ((photoNumber - 1) * increment)
- updateStage()
- set the fileName of cast 31 to item 1 of line photoNumber of photoFiles
- set the text of field "counter" to photoNumber && "of" && the number of lines in photoFiles - 1
- set the text of field "credits" to item 2 to 3 of line photoNumber of photoFiles
- set the castNum of sprite 18 to 72
- updateStage()
- end
-