Drag n Drop Objects in Flash vs. Rev

Scott Rossi scott at tactilemedia.com
Thu Dec 4 10:34:33 EST 2003


On 12/4/03 6:11 AM, "Jim Hurley" <jhurley at infostations.com> wrote:

> Is there a way to simulate:
> 
>  Repeat until the mouseClick
> 
> without monopolizing the CPU?
> 
> This repeat loop is useful when you want the user to be able to click
> the mouse to stop or interrupt screen activity.

You might try the following.  In your message box, type:

  go url "http://www.tactilemedia.com/download/clickdetector.rev"

As Jacque stated, and more importantly, as the creators of the engine have
stated, the combination of a repeat loop and polling the mouse is
inefficient for their engine.  So better to use mouseMove, variable states,
and "send in...".

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com



More information about the use-livecode mailing list