home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Magazine 28 Bonus
/
CDRomMagazine-SoftKey-ArtPassion-FrenchVersion-Win31Mac.bin
/
data
/
crpplay.dir
/
00073_Script_CURSORS
< prev
next >
Wrap
Text File
|
1996-05-27
|
699b
|
20 lines
-- -----------------------------------------------------------
-- Handler cursorSpriteList sets the cursor of the given sprites
-- to the given cursor. It also sets the global variable finger
-- sprites to the given sprite list. This variable is used
-- when the user clicks on a menu item and sets the cursor of
-- the sprites in the list to the arrow.
on cursorSpriteList whichCursor, spriteList
global fingerSpriteList
if whichCursor > 0 then -- not arrow
set fingerSpriteList = spriteList
else
set fingerSpriteList = []
end if
repeat with i = 1 to count(spriteList)
set the cursor of sprite getAt(spriteList,i) to whichCursor
end repeat
end