von dp am 12.Februar 97 um 16:20:59:
zu: Perlen aus dem Strom der Nachrichten im direct_L von Daniel am 22.Dezember 96 um 02:00:59:
>My workaround is to hide the cursor
on startMovie
cursor 200
set the puppet of sprite 48 to TRUE
set the member of sprite 48 to member "dogCursor"
end startMovie"
You can do it like this, but it's a little slow on certain systems. I
use this only if I want to have colored cursors on PC or ones bigger
than 16x16 pixel.
On the other hand I use a handler and list in the framescript. The
list contains the spritenumbers of the sprite wich should have a
custom cursor and the handler checks the result of the rollover
function and compares it with the script and changes the cursor
accordingly.
on enterframe
global gll_curlist
set gll_curlist = [3,7]
changecur
end
on exitframe
go to the frame
end
whereas here all sprites between 3 and 7 are eligible for the custom
cursor
on changecur
if the rollover >= (getat(gll_curlist, 1)) and the rollover <= (getat(gll_curlist, 2)) then
cursor [1,2]
else
cursor -1
end if
end changecur
There are also other variations of the above mentioned script, but
that's more or less the principle.
___________________________________________________________
Cedric Haindl
___________________________________________________________
D. Plänitz