Colin, are you joking? Unless there is something that you are trying to do which I don't understand, your method is entirely inefficient and unnecessary. Your method also won't necessarily work fast enough depending on the number of sprite and frame rate. The appropriate way to set a cursor over a sprite is using the sprite().cursor property. Such as (off the top of my head): property pSpr on beginSprite me pSpr = sprite(me.spriteNum) pSpr.cursor = 280 end on endSprite pSpr.cursor = 0 end I criticize your technique only because most people on the list know you to be sane in the majority of cases, but you seem to have lost some of your marbles. Or maybe I'm missing something, but I don't think so. From: "John Kanding" <[EMAIL PROTECTED]> >I always set cursors on beginsprite handlers... >Then I don't have to reset it on mousleave or worry 'bout some global >setting of the cursor. This sprite always have this cursor < Agreed. But don't forget to reset the sprite cursor in the endSprite handler as I've shown above. Bruce >From: Colin Holgate <[EMAIL PROTECTED]> >The way I do cursors is like this: > >global thecursor > >on exitframe > cursor thecursor > thecursor = -1 > go the frame >end > >Then, in any sprite that might think differently I modify the global >(taking the above example): > >global thecursor > >on prepareframe me > if sprite(2).mouseoverbutton=true then thecursor = 280 >end > > > >If no sprite has said otherwise, the cursor will be the arrow, but if >any of the sprites set thecursor to another value, the topmost sprite >will win, and that's what the cursor will be like. [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!]
Re: finger cursor over flash buttons?
Bruce Epstein - Zeus Productions Thu, 24 May 2001 11:03:32 -0700
- <lingo-l> finger cursor over flash ... eel
- Re: <lingo-l> finger cursor ov... Charlie Fiskeaux II
- Re: <lingo-l> finger curso... Colin Holgate
- Sv: <lingo-l> finger c... John Kanding
- Re: <lingo-l> fing... Charlie Fiskeaux II
- Re: <lingo-l> finger cursor ov... Bruce Epstein - Zeus Productions
- Re: <lingo-l> finger curso... Colin Holgate
- Re: <lingo-l> finger curso... Charlie Fiskeaux II
- Re: <lingo-l> finger cursor ov... Bruce Epstein - Zeus Productions
- Re: <lingo-l> finger curso... Colin Holgate
- Re: <lingo-l> finger cursor ov... Bruce Epstein
- Re: <lingo-l> finger curso... Colin Holgate
- Re: <lingo-l> finger cursor ov... Bruce Epstein - Zeus Productions