home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Creative Review 34
/
Creative-Review-CD-ROM-34.iso
/
pc
/
foo
/
foos.dir
/
00165_Script_165
< prev
next >
Wrap
Text File
|
1998-01-23
|
859b
|
39 lines
on checktimes
put the text of member "tim" into theTimes
put the movietime of sprite 1 into timeNow
--put timeNow
repeat with y = 1 to the number of lines in theTimes
if integer(item 1 of line y of theTimes) > timeNow then
put item 2 of line (y-1) of theTimes into myLine
exit repeat
end if
end repeat
--put "line:" & myLine
if myLine > 22 then
puppetsprite 7, true
set the loch of sprite 7 to 356
put ((myLine-22)*16) + 40 into newloc
--put "new y=" & newloc
puppetsprite 7, true
set the locv of sprite 7 to newloc
else
puppetsprite 7, true
set the loch of sprite 7 to 41
put ((myLine-1)*16) + 40 into newloc
puppetsprite 7, true
set the locv of sprite 7 to newloc
end if
end checkTimes