flushEvents()

Barry Levine themacguy at macosx.com
Mon Dec 9 20:51:01 EST 2002


Ted,

I ran Rev in the "Classic" environment (while booted in OSX) and found 
the same results. However, as this was not truly booted into OS9, the 
same issue may be rearing its head. I changed the handler to begin with 
the line "set the lockMessages to true" which seems to prevent any 
mouseClicks that occur during the handler (which may take up to 8 
seconds to complete due to various sounds starting and pictures 
appearing and disappearing with visual effects) from being recognized 
by any of the objects that contain mouseUp handlers.

If using the "lockMessages" property doesn't cause any other unforseen 
issues, I'll stick with that as it seems to have a more simple 
(HyperCard-like) syntax.

Thanks,
Barry

On Monday, December 9, 2002, at 06:13 PM, 
use-revolution-request at lists.runrev.com wrote:

> Message: 13
> From: "Ted" <tedl at voyager.net>
> To: <Use-revolution at lists.runrev.com>
> Subject: Re: flushEvents() problem
> Date: Mon, 9 Dec 2002 19:46:57 -0500
> Reply-To: use-revolution at lists.runrev.com
>
> Barry, flushEvents works fine for me in Mac 0S 9 and Windows 98, when 
> I place
> this near the end of the handler:
>
> put flushEvents(mouseUp) into temp
>
> I haven't tried it in OS X.
>
> Can you test your script in OS 9 to see whether it works there?
>
> Ted
>
> -------------------------------------------




More information about the Use-livecode mailing list