home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
testsoft
/
muzea
/
exemusei
/
indice.dir
/
00024_Script_GIU
< prev
next >
Wrap
Text File
|
1997-04-09
|
863b
|
24 lines
on mouseDown
global gI, gSkr, gF
put gSkr into S
put the mouseCast into MC
repeat while the mouseDown and the mousecast = MC
put the top of sprite 12 - S into T
put the top of sprite 24 + S/gF into B
put the top of sprite 20 - gSkr*the number of lines in field "LabSalto" into U
put the bottom of sprite 19 + gSkr into D
if T <= U then
put U into T
put the top of sprite 28 - the height of sprite 24 into B
else if T >= D then
put D into T
put the bottom of sprite 27 into B
end if
set the locV of sprite 12 = T
set the locV of sprite 13 = T + gI + the height of sprite 13/2
set the locV of sprite 24 = B
spriteBox 25, 609, the bottom of sprite 27, 619, B
spriteBox 26, 609, B+the height of sprite 24, 619, the top of sprite 28
updatestage
end repeat
end