I'll take a guess.
Unfortunately, the "cursor of sprite" is not really a sprite
property, but a property of the channel (same thing with the
"visibility of sprite"). This means that once you set the cursor for
a sprite channel, that cursor is in effect everywhere in the score
until you turn it off.
My guess is that somewhere else in the score, you have a different
sprite in this same channel number that sets the cursor of the sprite
to the finger. And that it does not clear the cursor. That way,
when it gets to your sprite span, Director still thinks the cursor
should be the finger.
The general way to fix this is to find the behavior where you want to
set the cursor and make it set the cursor on the way in, and clear
the cursor on the way out:
property spriteNum
on beginSprite me
sprite(spriteNum).cursor = 280 -- set the cursor on
-- anything else you want to do here
end
on endSprite me
sprite(spriteNum).cursor = 0 -- turn the cursor off
-- anything else you want to do here
end
Irv
At 6:18 PM -0600 9/19/05, Leila Singleton wrote:
Greetings, List,
I am having an odd problem with one of my sprites, which I am using
as a static, non-interactive background element.
For some reason, when passing the mouse over this particular
element, the mouse changes to a finger cursor, despite the fact that
there is no behavior attached to this element. I tried overriding
this seemingly random change by attaching a cursor change behavior
to the sprite which specifies an arrow as the rollover cursor, but
even that refuses to override the finger.
I fear that, at this point, Director is just giving me the finger
and there's nothing I can do about it. Is this a Lingo issue? A
program quirk? Please bear in mind that I have but basic knowledge
of Lingo, so please do not get too cerebral on me. Please help a
frantic and confused newbie!
Cordially and with many thanks,
Leila Singleton
P.S.: I apologize if this turns out to be a problem completely
unrelated to Lingo. As you can see, my knowledge is so limited that
I don't even know if my problem is appropriate to the focus of this
list!
[To remove yourself from this list, or to change to digest mode, go
to http://www.penworks.com/lingo-l.cgi To post messages to the
list, email [email protected] (Problems, email
[EMAIL PROTECTED]). Lingo-L is for learning and helping with
programming Lingo. Thanks!]
--
Multimedia Wrangler.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]