home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today (BR) Volume 2 #6
/
CDRTV2N6.iso
/
makers
/
search.dir
/
00033_Script_33
< prev
next >
Wrap
Text File
|
1996-03-11
|
2KB
|
48 lines
on mouseDown
global InSub,Chapter,LastLine,StartSprite
put the clickOn into theSprite
if the name of cast the castNum of sprite theSprite contains "down" then exit
put EMPTY into LastLine
if the frame > 10 then
repeat with i=10 to 42
puppetSprite i,FALSE
end repeat
go frame 1
end if
hiliteSprite theSprite
if the locH of sprite 10 < 1000 then set the locH of sprite 10 to (the locH of sprite 10) + 1000
put " " into field "subSubList"
if Chapter <> EMPTY then put field "TempText" into temp
put the number of cast string(theSprite &&"headLines") into currField --placing the right field
put field currField into field "tempText"
if the number of lines of field currField > 20 then
delete line 21 to (the number of lines of field currField) of field currField
put 20 into LastLine
end if
if the locH of sprite 17 < 1000 then
set the locH of sprite 17 to (the locH of sprite 17) + 1000
set the locH of sprite 18 to the locH of sprite 17
end if
updateStage
set the foreColor of field currField to 1
set the castNum of sprite 13 to currField
if the locH of sprite 13 > 1000 then set the locH of sprite 13 to (the locH of sprite 13) - 1000
updateStage
if LastLine = EMPTY then
if the locH of sprite 15 < 1000 then
set the locH of sprite 15 to (the locH of sprite 15) + 1000
set the locH of sprite 16 to the locH of sprite 15
end if
else
placeArrow 13,15
end if
updateStage
if Chapter <> EMPTY then put temp into field string(Chapter&&"HeadLines")
put theSprite into Chapter
put TRUE into InSub
put the number of cast "1" into StartSprite
end