P T Withington wrote: > On 2006-05-26, at 16:05 EDT, Neil Mix wrote: > >> All of this reminds me of a question I've been meaning to ask: how are >> you dealing with mouse events in the DHTML runtime? The behavior is >> vastly different between DHTML and Flash. In thinking through it, the >> only way I've been able to conceive of compatibility between the two >> is if the DHTML runtime places an invisible "screen" over the app to >> catch all mouse events, and then the "kernel" manually determines >> which view should receive events. Is that how you're doing it? > > I don't know details in that area. Max? >
It mostly just works In DHTML. I can reliably determine which view was clicked on for onmousedown events. Sending a onmouseup event when the mouse has left a view with the button down is more difficult because the original <div/> never gets the event. I have remember which view was clicked on and wait for the onmouseup event to bubble up to the canvas, then send the event from the original view. -- Regards, Max Carlson OpenLaszlo.org _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
