At 1:09 PM -0700 10/18/01, Umed Zokirov wrote: >Hi there > >I have a draggable sprite for which I added a behavior so that whenever the >mouse is over it, it changes the cursor to open hand. The thing is that I >would like to "close the hand" when the user clicks on the sprite. How can I >do it ? > >I tried something like > > >on mouseDown > >sprite(the clickOn).cursor = 5 > >end > >But nothing happens. I don't know if two behaviors conflict or I don't know >the exact number of the "closed hand cursor". So I was wondering if anyone >knows how to do it > > Thanks in advance, Umed
the closed hand cursor doesn't seem to be listed in the docs & your code works if i put a 2 in place of the 5 (I get the "+" cursor), so I'd guess that you'll need to make a hand cursor member & mask member & use the cursor [castNumber, maskCastNumber] command instead. [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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!]
