home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global movieDuration, therange
- if the movieTime of sprite 8 < movieDuration then
- set theTime to the movieTime of sprite 8
- set dH to the width of sprite 12 / 2
- set dx to integer(therange * theTime / movieDuration)
- set theLocH to the right of sprite 10 + dx + dH
- set the locH of sprite 12 to theLocH
- go(the frame)
- else
- set the castNum of sprite 11 to 446
- puppetSprite(12, 0)
- go(marker(0))
- end if
- end
-