You might try applying a predictive tracking algorithm: something  
like watching every mouse move, guessing where the mouse is going,  
then setting a timer to see if you get another mouse move event. You  
could get into math like evaluating the rate of travel of the mouse  
pointer towards a boundary of the app; moving rapidly toward the  
border would predict that the border will be crossed; moving towards  
the border but decelerating would predict that the border won't be  
crossed.

Patrick Baudisch, at Microsoft Research, has been doing some really  
nice CHI work with user studies on this sort of thing. I recommend  
checking out his work. It might not be exactly what you need, but  
it's *cool*, and could get you a "+5 nifty!" rating if you applied it  
to Pandora.
http://www.patrickbaudisch.com/publications/index.html

Joe Laviola at Brown has been doing some work with this:
http://www.cs.brown.edu/people/jjl/ptracking/ptracking.html

Is your app in a javascript wrapper, though? Seems like there ought  
to be a clever way of noticing a mouse-enter in DHTML, and sending a  
message to the laszlo app to let it know it's lost the pointer.

Please let us know what you learn.

On May 25, 2006, at 9:38 AM, Neil Mix wrote:

> I'd like to have some way of knowing that the mouse is no longer
> above the canvas, i.e. the Flash app is no longer able to receive
> mouse events.  Is this possible at all?  What I'm seeing is that the
> last moused-over object will receive a mouseout event, but the
> getMouse() coords returned are the last known location of the mouse
> before it left the canvas (which makes sense).
>
> I'm guessing I'm out of luck here, but I thought I'd check with the
> experts first.  It's OK by me if the solution involves using Flash
> native or deeply private LZX stuff.
>
> TIA, -Neil
> _______________________________________________
> Laszlo-dev mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

benjamin shine
software engineer
[EMAIL PROTECTED]



_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to