Sticking an image to the cursor

Sue Smith coolsnowlime at yahoo.com
Sat Oct 11 13:37:14 EDT 2008


I did, but it only works with mouseDown. I need it to work on the mouseEnter handler. I am developing (freeware) for children with disabilities - so many are unable to click the mouse button, let alone keep it held down.

Thanks!


--- On Sat, 10/11/08, Klaus Major <klaus at major-k.de> wrote:

> From: Klaus Major <klaus at major-k.de>
> Subject: Re: Sticking an image to the cursor
> To: "How to use Revolution" <use-revolution at lists.runrev.com>
> Date: Saturday, October 11, 2008, 9:00 AM
> Hi Sue,
> 
> > Is is possible for an image to smoothly
> "stick" onto the cursor? I  
> > am working on a jigsaw puzzle for children. I know
> that I can set  
> > the image to the mouse location, but it is very choppy
> and and the  
> > image will drop if the user accelerates mouse speed
> and it can't  
> > leep up.
> >
> > Thanks in advance!
> 
> did you try the "grab" command?
> That may be the solution for you.
> 
> Put this into the script of your jigsaw image(s)
> 
> on mousedown
>    grab me
> end mousedown
> 
> That's all to make <an image smoothly
> "stick" onto the cursor> :-)
> 
> 
> Best
> 
> Klaus Major
> klaus at major-k.de
> http://www.major-k.de
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


      



More information about the use-livecode mailing list