Kevin Miller wrote/ schreef:
> On 27/2/01 9:28 am, Sjoerd Op 't Land <[EMAIL PROTECTED]> wrote:
>
>> on idle -- always (well, most of the time)
>> set the loc of image "cursorPicture" to the mouseLoc -- places the
>> -- middle of the image to the location of the mouse
>> end idle
>
> Also, see the article on our old web site www.xworlds.com on "send vs idle"
> for a more efficient way of doing this.
Well, you're right that send is better for this, but just 'idle' is pretty
straightforward. I would prefer this option to stay in MC/ Rev, because it's
easy to use.
Kevin Miller got a second thought: -- ;-)
> On second thoughts, the most efficient way to do this (same principal just a
> bit faster) would be using a mouseMove handler.
>
> on mouseMove x,y
> set the loc of image "cursorPicture" to x,y
> end mouseMove
That's a better one, because it won't use CPU time when you don't move the
mouse.
Regards,
Sjoerd
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.