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