home *** CD-ROM | disk | FTP | other *** search
Wrap
global gRollerList, gSpeciesList, gLinkRollerList, gTextCastLib, gPrintPictureCastlib, gPictList, gFrameLabel, gSpeakList, gSpeak, gFrom, gTo, gFlag on startMovie set the preLoadEventAbort to 0 set the idleLoadMode to 3 set gTextCastLib to "zootext" set gPrintPictureCastlib to "zoo332" set gFrom to 15 set gTo to 34 set gRollerList to [35: member 22 of castLib "shared", 36: member 23 of castLib "shared", 37: member 24 of castLib "shared", 38: member 25 of castLib "shared", 39: member 36 of castLib "shared"] set gLinkRollerList to [15: 332, 16: 345, 17: 358, 18: 372, 19: 387, 20: 400, 21: 415, 22: 428, 23: 443, 24: 456] set gSpeakList to value(the text of field "S01") set gSpeak to 1 set gFlag to 2 speak() end on nextSpecies puppetSound(0) set gFlag to 1 set i to integer(char 5 of gFrameLabel) set N to integer(the last char in gFrameLabel + 1) case N of "10": if i = 0 then set f2 to "R" & N set f4 to "S" & N set i to 1 set k to 10 else set N to (i + 1) * N set f2 to "R" & N set f4 to "S" & N set k to N end if otherwise: set f2 to "R" & i & N set f4 to "S" & i & N set k to (i * 10) + N end case set gLinkRollerList to value(the text of field f2) cursor(4) if i = 0 then do("go" && QUOTE & "pic1" & i & N & QUOTE) else do("go" && QUOTE & "pic1" & k & QUOTE) end if set gSpeakList to value(the text of field f4) set gSpeak to 1 puppetSound(0) sound stop 1 speak() end on previousSpecies puppetSound(0) set gFlag to 1 set i to integer(char 5 of gFrameLabel) set N to integer(the last char in gFrameLabel - 1) case N of "-1": set i to i - 1 set N to 9 set f2 to "R" & i & N set f4 to "S" & i & N set k to (i * 10) + N otherwise: set f2 to "R" & i & N set f4 to "S" & i & N set k to (i * 10) + N end case set gLinkRollerList to value(the text of field f2) cursor(4) if i = 0 then do("go" && QUOTE & "pic1" & i & N & QUOTE) else do("go" && QUOTE & "pic1" & k & QUOTE) end if set gSpeakList to value(the text of field f4) set gSpeak to 1 speak() end on goTheSpecies puppetSound(0) set gFlag to 2 set i to integer(char 5 of gFrameLabel) set N to integer(the last char in gFrameLabel) set f2 to "R" & i & N set f4 to "S" & i & N set gLinkRollerList to value(the text of field f2) cursor(4) do("go" && QUOTE & "pic1" & i & N & QUOTE) set gSpeakList to value(the text of field f4) set gSpeak to 1 speak() end on animalButton N, s set the puppet of sprite N to 1 set H to the locH of sprite N set V to the locV of sprite N set the locH of sprite N to H + 2 set the locV of sprite N to V + 2 updateStage() repeat while the mouseDown = 1 if rollOver(N) = 1 then set the locH of sprite N to H + 2 set the locV of sprite N to V + 2 updateStage() next repeat end if set the locH of sprite N to H set the locV of sprite N to V updateStage() end repeat set the locH of sprite N to H set the locV of sprite N to V updateStage() set the puppet of sprite N to 0 if rollOver(N) = 1 then set gFrameLabel to s goTheSpecies() end if end on previousLink cursor(4) go("urban", "main") end