home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global menuShowHide, posH, posV, dispBG, moviesList, frameList
- set dispBG to 0
- set moviesList to "air.dir,land.dir,water.dir,animals.dir,people.dir,energy.dir,response.dir,dev.dir"
- set frameList to "pre71,72-75,76-79,80-83,84-87,88-91,92-95"
- set posH to "155,223,291,359,427,495,563"
- set posV to "91,134,177,220,263,306,349,392,435"
- end
-
- on buildLoc Fr, Mov
- global theTargetFrame, theTargetMovie
- set theTargetFrame to Fr
- set theTargetMovie to Mov
- end
-
- on doZoom
- global theCol, theRow, moviesList, frameList
- if theRow = 4 then
- puppetSprite(4, 0)
- set the castNum of sprite 6 to 0
- go(the frame + 1)
- set spC to the clickOn
- set endH to 27
- set endV to 101
- set endW to 586
- set endT to 352
- set startH to the locH of sprite spC
- set startV to the locV of sprite spC
- set startW to the width of sprite spC
- set startT to the height of sprite spC
- set incrH to (endH - startH) / 10
- set incrV to (endV - startV) / 10
- set incrW to (endW - startW) / 10
- set incrT to (endT - startT) / 10
- set the locV of sprite spC to startV
- set the locH of sprite spC to startH
- set the width of sprite spC to startW
- set the height of sprite spC to startT
- updateStage()
- repeat with n = 1 to 9
- set the locV of sprite spC to the locV of sprite spC + incrV
- set the locH of sprite spC to the locH of sprite spC + incrH
- set the width of sprite spC to the width of sprite spC + incrW
- set the height of sprite spC to the height of sprite spC + incrT
- updateStage()
- end repeat
- set the locV of sprite spC to endV
- set the locH of sprite spC to endH
- set the width of sprite spC to endW
- set the height of sprite spC to endT
- updateStage()
- buildLoc(item theCol of frameList, item theRow of moviesList)
- else
- go("m")
- end if
- end
-