if Chapter <> EMPTY then put field "tempText" into field string(Chapter&&"HeadLines")
end
on hiliteSprite theSprite
repeat with i=2 to 9
if (the castNum of sprite i) mod 2 then
set the castNum of sprite i to (the castNum of sprite i) - 1
end if
end repeat
set the castNum of sprite theSprite to (the castNum of sprite theSprite) + 1
updateStage
end
on placeArrow fieldSprite,ArrowSprite
set the locH of sprite ArrowSprite to (the left of sprite fieldSprite) + ((the right of sprite fieldSprite) - (the left of sprite fieldSprite)) / 2
set the locV of sprite ArrowSprite to (the top of sprite fieldSprite) - 10
set the locH of sprite (ArrowSprite + 1) to the locH of sprite ArrowSprite
set the locV of sprite (ArrowSprite + 1) to (the bottom of sprite fieldSprite) + 7
end
on rollOvers
if rollOver(20) then roll 20
else if rollOver(21) then roll 21
end
on roll theSprite
set the castNum of sprite theSprite to (the castNum of sprite theSprite) + 1
updateStage
repeat while rollOver(theSprite) and not the mouseDown
nothing
end repeat
set the castNum of sprite theSprite to (the castNum of sprite theSprite) - 1
updateStage
end
on xx
put field "7 sub a" into temp
put field "timeLine text" into temp2
put 1 into i
repeat while i <= the number of lines of temp
if char 1 of line i of temp <> "@" then
if charToNum(char 2 of line i of temp) > 90 or charToNum(char 2 of line i of temp) < 65 then
put line (i-1) of temp2&RETURN before line i of temp2
end if
end if
put i+1 into i
end repeat
delete line (i+1) to the number of lines of temp2 of temp2
beep 2
put temp2 into field "timeLine text"
put field "timeLine text"
end
on PlacePict
global StartSprite,NextFrame
set the castNum of sprite 13 to the number of cast ("page"&StartSprite)
updateStage
end
on chaptersLists theChapter,theSprite
global ItemDel,StartSprite,Status,SavedPos,ToGo,Person,GoTo,NextFrame,LastFrame,CurrFrame
put FALSE into out
if theChapter = "body" then
put string("makers"&ItemDel&"makers"&ItemDel&"body"&ItemDel&"bodyMain.dir") into thePath
set MakersList = ["ali,337":1,"bannister,438":1,"banting,2289":2,"barnard,2308":2,"chanel,1541":1,"crick,2513":2,"valois,2005":1,"duncan,1743":1,"ehrlich,2321":2,"fleming,2547":2,"montagnier,2402":2,"grahamm,1852":1,"jordan,885":1,"korbut,1423":1,"montagnier,2402":2,"navratilova,1001":1,"nureyev,2137":1,"owens,1144":1,"pele,1320":1,"pincus,2518":2,"ruth,656":1,"sanger,2397":2,"spok,2362":2,"steptoe,2467":2,"crick,2513":2]
put getPropAt(MakersList, (theSprite - 16)) into prevGoTo
put getAt(MakersList, (theSprite - 16)) into temp
put item 1 of prevGoTo into NextFrame
put NextFrame into LastFrame
put NextFrame into CurrFrame
put value(item 2 of prevGoTo) into GoTo
if temp = 2 then
go frame "fade" of movie string(thePath)
else
go frame "fade2" of movie string(thePath)
end if
else if theChapter = "power" then
put string("makers"&ItemDel&"makers"&ItemDel&"power") into thePath
put getPropAt(MakersList, (theSprite - 16)) into addPath
else
put getAt(MakersList, (theSprite + 12)) into ToGo
put getPropAt(MakersList, (theSprite + 12)) into addPath
end if
go frame "fade" of movie string(thePath&ItemDel&addPath)
else if theChapter = "design" then
put string("makers"&ItemDel&"makers"&ItemDel&"design") into thePath
set MakersList = ["design3.dir":2,"design2.dir":5,"design3.dir":6,"design3.dir":9,"design4.dir":5,"design2.dir":2,"design4.dir":6,"design2.dir":4,"design3.dir":4,"design3.dir":5,"design1.dir":4,"design2.dir":3,"design1.dir":7,"design3.dir":7,"design2.dir":8,"design4.dir":8,"design1.dir":3,"design1.dir":8,"design1.dir":2,"design1.dir":9,"design4.dir":7,"design1.dir":11,"design4.dir":4,"design3.dir":3,"design2.dir":6,"design2.dir":7,"design3.dir":8,"design4.dir":2,"design1.dir":5,"design1.dir":6,"design1.dir":10,"design4.dir":8,"design4.dir":3]
if StartSprite = 7 then
put getAt(MakersList, (theSprite - 30)) into spriteToMove
put getPropAt(MakersList, (theSprite - 30)) into addPath
else
put getAt(MakersList, (theSprite - 2)) into spriteToMove
put getPropAt(MakersList, (theSprite - 2)) into addPath
end if
set Status = [SpriteToMove]
go frame "fade" of movie string(thePath&ItemDel&addPath)
else if theChapter = "discovery" then
put string("makers"&ItemDel&"makers"&ItemDel&"discover.dir") into thePath
set MakersList = [35:116,604:163,35:215,533:35,248:444,248:35,461:444,106:35,106:444,320:447,354:35,604:233,35:308,604:92,177:444,532:444,35:378,177:35,604:373,604:303,390:444,462:35]
if StartSprite = 5 then
put getAt(MakersList, (theSprite - 30)) into theX
put getPropAt(MakersList, (theSprite - 30)) into theY
else
put getAt(MakersList, (theSprite - 2)) into theX
put getPropAt(MakersList, (theSprite - 2)) into theY
end if
openXlib "SetMouse XCMD"
SetMouse(theY,theX)
go movie string(thePath)
closeXlib "SetMouse XCMD"
else if theChapter = "mind" then
put string("makers"&ItemDel&"makers"&ItemDel&"mind.dir") into thePath
set MakersList =["AUDEN,136","DE BEAUVOIR,056","CHOMSKY,143","FREUD,107","FRIEDAN,fridan","GRAHAM,076","GREER,033","BROWN,082","HEMINGWAY,094","HUXLEY,166","JOYCE,050","JUNG,111","KAFKA,172","TERESA,150","ORWELL,157","OWEN,063","PASTERNAK,129","PIAGET,115","RUSSELL,069","SARTRE,122","DE SAUSSURE,087","SOLZHENITSYN,021","VARAH,044","WILSON,wilson","WOOLF,100"]
if StartSprite = 6 then
put item 2 of getAt(MakersList, (theSprite - 30)) into ToGo
put item 1 of getAt(MakersList, (theSprite - 30)) into Person
else
put item 2 of getAt(MakersList, (theSprite - 2)) into ToGo
put item 1 of getAt(MakersList, (theSprite - 2)) into Person
end if
go frame "fade" of movie string(thePath)
else if theChapter = "senses" then
put string("makers"&ItemDel&"makers"&ItemDel&"senses.dir") into thePath
set MakersList = ["B":"454,464","A":"219,229","A":"221,231","B":"458,468","D":"565,575","B":"455,465","C":"11,21","B":"456,466","A":"217,227","C":"9,19","B":"452,462","C":"13,23","C":"15,25","A":"218,228","D":"566,576","C":"6,16","C":"12,22","C":"8,18","A":"220,230","D":"567,577","B":"459,469","A":"222,232","A":"223,233","D":"570,580","B":"453,463","D":"563:573","A":"215,225","D":"571,581","C":"7,17","D":"569,579","D":"568,578","D":"564,574","B":"457,467","C":"14,24","A":"216,226","C":"10,20"]
if StartSprite = 4 then
put getPropAt(MakersList, (theSprite - 16)) into x
put getAt(MakersList, (theSprite - 16)) into x2
else
put getPropAt(MakersList, (theSprite + 11)) into x
put getAt(MakersList, (theSprite + 11)) into x2
end if
put "shuffle ""E&x"E into line 1 of SavedPos
put x2 into line 2 of SavedPos
go frame "fade" of movie thePath
else
beep
put TRUE into out
end if
end
on SetLists
global FullList
set FullList = [1:",body,body,body,body,body,body,body,body,body,body,body,body,body,body,body,body,body,body,body,body,body,body,body,body,body,,",2:",power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power",3:"power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,power,,,,,",4:",senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses,senses",5:"senses,senses,senses,senses,senses,senses,senses,senses,senses,,,,,,,discovery,discovery,discovery,discovery,discovery,discovery,discovery,discovery,discovery,discovery,discovery,discovery,discovery",6:"discovery,discovery,discovery,discovery,discovery,discovery,discovery,discovery,discovery,,,,,,,mind,mind,mind,mind,mind,mind,mind,mind,mind,mind,mind,mind,mind",7:"mind,mind,mind,mind,mind,mind,mind,mind,mind,mind,mind,mind,,,,design,design,design,design,design,design,design,design,design,design,design,design,design",8:"design,design,design,design,design,design,design,design,design,design,design,design,design,design,design,design,design,design,design,,,,,,,,,"]
end
on temp
put 1901 into i
repeat while i < 1952
put i&RETURN after line (i-1900) of field "7 headLines"