I would say this is a bug.

Currently, the dependencies function for getMouse is the idle loop. This was probably a kluge for older players. In modern players you can listen for mouse moves, and there is already a mouse listener object for handling the mouse wheel. Clearly this same listener could have an event for mouse motion, which should be what getMouse's dependency is.

You can file a bug at http://www.openlaszlo.org/jira/

On 18 Jan 2006, at 12:06, Denis Bohm wrote:

I have the following code in a state (much like that in the developer documentation):

           <attribute name="mx" value="${parent.getMouse('x')}"/>
           <method event="onmx">

When I try it the "onmx" event method is called repeatedly even when the mouse is not moving. Am I doing something wrong? Is there a way to only get sent events when the value changes?

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

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

Reply via email to