home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-Online 1996 June
/
PCOnline_06_1996.iso
/
mrmore
/
mrmore.dir
/
00064_Script_64
< prev
next >
Wrap
Text File
|
1996-04-11
|
739b
|
18 lines
-- hochscrollen mit balken
on mouseDown
global gnFirstSprite, gnTextHeight
ClickButton(the clickOn)
set nHeight = the number of lines of the text of cast the castNum of sprite (gnFirstSprite+1) ¼
* (the textHeight of field the castNum of sprite (gnFirstSprite+1))
if the locV of sprite (gnFirstSprite+1) + nHeight > 388 then
set the puppet of sprite (gnFirstSprite+1) = true
set the puppet of sprite (gnFirstSprite+2) = true
set the locV of sprite (gnFirstSprite+1) = the locV of sprite (gnFirstSprite+1) - gnTextHeight
set the locV of sprite (gnFirstSprite+2) = the locV of sprite (gnFirstSprite+2) - gnTextHeight
end if
end