allow me to make a comment

it looks like when you are within a sprite, you are 'walking' thru all the sprites & resetting the cursor for all the other sprites - this seems like unnecessary to me & is probably causing a performance hit ...

also - you probably don't need those 'updateStage' commands either.

-Buzz

At 7:10 PM -0300 12/20/05, you wrote:
       Hi Tom:
Thank you for the effort ("gracias por el esfuerzo quise decir en mi
inglés por culpa (blame) de Director"). Two sprites are in the same frame.
When I roll over the second sprite the finger (280) shine a second in the
first and then disappear. Only is ugly and annoying but don't damage the
work. I tried with "on mouseWithin 280" and "on mouseLeave" -1 or 0" but is
the same. "on endSprite" doesn't work because the two sprites are in the
same frame. I don't know which will be the reason. My behaviour is this:
Property QueCursor,pSpriteN on getPropertyDescriptionList
         description = [:]
         addProp description,\
         #queCursor, \
        [\
         #format:#cursor,\
         #default: 280,\
         #comment:"Elegir cursor"\
        ]
         return description
       end
on mouseWithin me
         sprite(pSpriteN).cursor = queCursor
         cursoresCero()
         updatestage
       end
on mouseLeave me
         sprite(me.spriteNum).cursor = -1
         updatestage
       end
on endSprite me
         sprite(me.spriteNum).cursor = -1
         updatestage
       end
on cursoresCero me
         repeat with i = 1 to the lastChannel
           if i = pSpriteN then
             next repeat
           end if
           sprite(i).cursor = -1
         end repeat
       end
on beginSprite me
         pSpriteN = me.spriteNum
       end
If you can help me ¡Okey! but if no don't worry and thank you for
your interest.
       A bit in spanish: Pasa que estudié solo Lingo y Director y a veces
(sametimes) estoy perdido.
Thank you again Mario Arreseygor
       -----Mensaje original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Thomas Higgins
Enviado el: martes, 20 de diciembre de 2005 18:12
Para: Lingo programming discussion list
Asunto: RE: <lingo-l> A new question
Mario, > I have a problem with the cursor. The problem is present
       > when I want to convert the arrow in a little finger when there
       > are a link. When I stay over a sprite (with link), the cursor is
       > 280 (a little finger). When I go to another sprite the cursor (in
       > the on mouseLeave script) change to an arrow. When I enter
       > a new sprite the cursor change again to 280 but quickly
       > appear a little finger in the limit of the later sprite and
       > disappear. This is not terrible but is too ugly. I tried a lot of
       > way to correct this but is impossible. Could you help me in
       > this problem?
Are the two sprites you're discussing on the same frame or are they
in the same sprite channel but in different frames? I'm not sure why you
would ever see the finger cursor appear when entering the "other" sprite
unless you've mistakenly attached multiple behaviors to it without realizing
it. For example, maybe you first accidentally attached a behavior to your
"other" sprite that sets the cursor to 280, but then just after that you
attached another behavior that then sets it to the normal arrow cursor, this
might cause a flicker.
Anything else you can tell us about this movie? Si es más fácil para usted hablo poquito de Español, pero creo que no
es tan bueno que su Inglés. ;P
Cheers,
       Tom Higgins | Product Manager | Director & the Shockwave Player
       Adobe Systems Incorporated
http://weblogs.macromedia.com/thiggins/ ... [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