How would you support dragging without event capture nor global  
mouse?  If you move the mouse fast enough, you'll leave the bounds of  
the draggable object and then it has no way to obtain mouse events  
except to attach/interact with the canvas.  Am I missing something?

On Sep 21, 2006, at 12:50 PM, Adam Wolff wrote:

> Here's a very rough proposal for what we could do to implement event
> bubbling:
>
>     - don't bother with event capture. it seems unnecessary to support
>       both capture and bubbling
>
>     - Modify Laszlo's LzEvent object as follows:
>         * Add a boolean:bubbles attribute which defaults to false
>         * Modify LzEvent.prototype.sendEvent as follows:
>             call back all registered delegates (current behavior)
>             if bubbling
>                 look up the immediateparent chain for a node which
>                 contains an event of the same name
>                 call sendEvent with the same argument on that event
>
>     - Modify LzView's "clickable" attribute as follows
>         * deprecate it
>         * all movieclips are clickable in Flash (need to test for perf
>           implications -- there are other options if this is slow)
>         * remove the compiler code that sets clickable when you  
> declare
>           mouseEvent handlers
>
>     - Modify LzModeManager attribute as follows
>         * deprecate or remove LzGlobalMouse; rely instead on bubbling
>         * consider caching results of bubbling lookups
>
> I'm sure I missed some stuff, but this kind of what I've been  
> thinking.
> A
>
> _______________________________________________
> Laszlo-dev mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev


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

Reply via email to