Hi Alex: First thank you. Yesterday I tried with both scripts. Whit the first I have de same problem but with the second the cursor was 280 and not change to cursor 0. Always cursor 280. I don't understand. May be is a problem with the system. I don't know. The other interesting thing than yesterday learned (I am relatively new in this) is that there are channel's property and sprite's property. If you can tell me where I can get articles about this I will be very grateful. Thank you for your effort. Mario Arreseygor -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Alex da Franca Enviado el: martes, 20 de diciembre de 2005 20:53 Para: Lingo programming discussion list Asunto: Re: <lingo-l> A new question there are two things: one is "the cursor of sprite x" which takes automatically care to change the cursor if you roll over the sprite and reset it, if you roll out (at least this is the theory and the way it is supposed to work ;-) in the cases, where this doesn't work correctly (as sometimes too many different instances have "colliding interests" in setting the cursor) there is option 2.), where you set the cursor globally: "cursor 280", which sets the cursor independantly on what it rolls over at the moment. as behaviors both look like: -- option 1: Property QueCursor on getPropertyDescriptionList description = [:] description[#queCursor] = [#format:#cursor, #default: 280, #comment:"Elegir cursor"] return description end on beginsprite me sprite(me.spritenum).cursor = QueCursor end on endsprite me sprite(me.spritenum).cursor = 0 end --------------------- -- option 2: Property QueCursor on getPropertyDescriptionList description = [:] description[#queCursor] = [#format:#cursor, #default: 280, #comment:"Elegir cursor"] return description end on mouseEnter me cursor QueCursor end on mouseLeave me cursor = 0 -- or cursor -1 to reset the cursor to its previous state end option 1 is supposed to be more easy to use, but makes problems sometimes, as it is one of these very ancient beasts, which are channel properties, rather than sprite properties and thus persist for the whole channel regardless if a spritespan ends, starts or the
movie starts/stops, it is simply a sticky score property and sometimes leads to unexpected results. HTH --------------------------- ||| a¿ex [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 lingo-l@penworks.com (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 lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]