After testing what I *thought* to be true...
I answered my own question.

Peter,
if you are going to use sprite(spritenum).cursor,
use it in the beginSprite handler (WITH the "me")
there is no need to repeatedly set the property in the mouseEnter handler

property spr,spritenum

on beginSprite me
    spr=sprite(spritenum)
    spr.cursor=280
end



----- Original Message ----- 
From: "Stephen Ingrum" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2003 9:19 AM
Subject: Re: <lingo-l> Cursor property


> On a semi-related note.
> What's the difference between saying
>
> on mouseEnter me
>     sprite(spritenum).cursor=280
> end
>
> and
>
> on mouseEnter me
>     cursor 280
> end
>
> Why would you use one method over the other?
>
> Thank you,
> Stephen Ingrum
> [EMAIL PROTECTED]
> www.LeagueofDesign.com
>
>
> ----- Original Message ----- 
> From: "Colin Holgate" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, September 26, 2003 9:00 AM
> Subject: RE: <lingo-l> Cursor property
>
>
> > >Sorry, folks, but sprite(me.spriteNum).cursor as well as
> > >sprite(spriteNum).cursor doesn't want to work.
> >
> >
> > That's because you are saying on mousedown, and not on mousedown me.
> > Try sticking some "me"'s at the end of your handler's first lines.
> >
> > [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!]
> >
> >
>
> [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!]
>
>

[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!]

Reply via email to