home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global left, maximum, increment, photoFiles, photoNumber, movieLocation
- put 1 into word 3 of movieLocation
- put photoNumber into word 4 of movieLocation
- puppetSprite(38, 0)
- puppetSprite(28, 0)
- set the visible of sprite 15 to 0
- puppetSprite(8, 1)
- puppetSprite(26, 1)
- set the constraint of sprite 26 to 25
- set the text of field "counter" to photoNumber && "of" && the number of lines in photoFiles - 1
- cursor(-1)
- set left to the left of sprite 25
- set the locH of sprite 26 to left
- set maximum to float(the number of lines in photoFiles - 2)
- set increment to the width of sprite 25 / maximum
- set the locH of sprite 26 to left + ((photoNumber - 1) * increment)
- go(the frame + 1)
- end
-