approved. It works for me without an error in trunk.

Note however, in my modified version of trunk, I get this error in swf10
when I double click on one of my bidirectional textfield objects. The mouse
event is declared in the LzGlobalMouseService on 'ondblclick', not
'ondoubleclick'. I'm not sure why I am getting this when clicking in my
custom textfield object, but not from the native textfield object.


[Fault] exception, information=ReferenceError: Error #1069: Property
ondoubleclick not found on LzGlobalMouseService and there is no default
value.
Fault, __mouseEvent() at LzGlobalMouseService.as:35
 35    var ev_$2:LzDeclaredEventClass = this[eventname_$0];
(fdb) bt
#0   this = [Object 615751577,
class='LzGlobalMouseService'].LzGlobalMouseService/__mouseEvent(eventname_$0="ondoubleclick",
view_$1=[Object 621656801, class='LzInputText']) at
LzGlobalMouseService.as:35
#1   this = [Object 629047393,
class='LzModeManagerService'].LzModeManagerService/handleMouseEvent(view_$0=[Object
621656801, class='LzInputText'], eventStr_$1="ondoubleclick") at
LzModeManagerService.as:91
#2   this = [Object 629047393,
class='LzModeManagerService'].LzModeManagerService/rawMouseEvent(eventname_$0="ondoubleclick",
view_$1=[Object 621656801, class='LzInputText']) at
LzModeManagerService.as:292
#3   this = [Object 617954561,
class='LzMouseKernel$'].LzMouseKernel$/handleMouseEvent(view_$0=[Object
621656801, class='LzInputText'], eventname_$1="ondoubleclick") at
LzMouseKernel.as:30
#4   this = [Object 641462449,
class='LzInputTextSprite'].LzTextSprite/__ignoreMouseEvent(e=[Object
610586937, class='flash.events::MouseEvent']) at LzTextSprite.as:147
#5   this = [Object 641462449,
class='LzInputTextSprite'].LzTextSprite/handleTextfieldMouse(e=[Object
610586937, class='flash.events::MouseEvent']) at LzTextSprite.as:123
(fdb)


On Mon, Jul 26, 2010 at 8:27 PM, Max Carlson <[email protected]> wrote:

> Change 20100726-maxcarlson-A by maxcarl...@friendly on 2010-07-26 17:15:42
> PDT
>    in /Users/maxcarlson/openlaszlo/trunk-clean
>    for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Add global mouse events for selectable text in sww9/10
>
> Bugs Fixed: LPP-9192 - lz.GlobalMouse events not consistent across runtimes
> for selectable text.
>
> Technical Reviewer: hminsky
> QA Reviewer: mdemmon
>
> Details: Send globla mouse events from __ignoreMouseEvent(), currently only
> called for selectable text.
>
> Tests: See LPP-9192
>
> Files:
> M       WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as
>
> Changeset:
> http://svn.openlaszlo.org/openlaszlo/patches/20100726-maxcarlson-A.tar
>



-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to