[Laszlo-dev] For Review: Change 20090501-maxcarlson-y Summary: Add mouse events to the html tag

André Bargull andre.bargull at udo.edu
Wed May 6 13:24:45 PDT 2009


Approved!

On 5/2/2009 5:23 AM, Max Carlson wrote:
> Change 20090501-maxcarlson-y by maxcarlson at Bank on 2009-05-01 20:16:08 PDT
>     in /Users/maxcarlson/openlaszlo/trunk-clean
>     for http://svn.openlaszlo.org/openlaszlo/trunk
> 
> Summary: Add mouse events to the html tag
> 
> Bugs Fixed: LPP-8034 - Mouse clicks in the HTML component do not trigger 
> an onclick event on the HTML instance or in LzGlobalMouse
> 
> Technical Reviewer: andre.bargull at udo.edu
> QA Reviewer: hminsky
> 
> Details: test/extensions/html - Override mouseevent to show mouse events 
> in the debugger.
> 
> LzMouseKernel, LzSprite - Rename LzMouseKernel.__sendEvent() -> 
> handleMouseEvent() to be consistent with swf8
> 
> lps/components/extensions/html - Add swf callback method for 
> __gotMouseEvent().
> 
> embednew - attachEventHandler() supports an optional 'closure' value 
> which will be returned as an extra argument to the callback.
> 
> iframemanager - After the iframe finishes loading, attempt to listen for 
> global mouse events on the window object.  Remove listeners when the 
> iframe is destroyed.  Add __mouseEvent() callback which processes mouse 
> events and delegates to the appropriate swf or dhtml APIs.
> 
> Tests: test/extensions/html.lzx?debug=true shows mouse events being sent 
> from the iframe.
> 
> Files:
> M      test/extensions/html.lzx
> M      WEB-INF/lps/lfc/kernel/swf9/LzMouseKernel.as
> M      WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
> M      lps/components/extensions/html.lzx
> M      lps/includes/source/embednew.js
> M      lps/includes/source/iframemanager.js
> 
> Changeset: 
> http://svn.openlaszlo.org/openlaszlo/patches/20090501-maxcarlson-y.tar
> 


More information about the Laszlo-dev mailing list