home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacUser Mac Bin 25
/
MACUSER-MACBIN25-1995-12.ISO.7z
/
MACUSER-MACBIN25-1995-12.ISO
/
RockCity6
/
rc6
/
Rock6
/
00021_Script_21
< prev
next >
Wrap
Text File
|
1995-10-24
|
954b
|
33 lines
--Button Action
on BAction
global RR
put (the locV of sprite clickon()) + 1 into dV
put (the locH of sprite clickon()) + 1 into dH
set the locV of sprite clickOn() = dV
set the locH of sprite clickOn() = dH
upDateStage
repeat while stillDown()
if rollOver(clickOn()) or ャ
((mouseV() >= (dv - 1) and mouseH() >= (dH - 1)) and (mouseV() <= the bottom of sprite clickOn() and ャ
mouseH() <= the right of sprite clickOn())) then
set the locV of sprite clickOn() = dV
set the locH of sprite clickOn() = dH
else
set the locV of sprite clickOn() = dV - 1
set the locH of sprite clickOn() = dH - 1
end if
upDateStage
end repeat
put rollOver(clickOn()) into RR
set the locV of sprite clickOn() = dV - 1
set the locH of sprite clickOn() = dH - 1
if RR=1 then
puppetsound "MUp"
end if
upDateStage
end